Questions about importing messages and retrieving inbox and author IDs

  • 11 January 2023
  • 1 reply

Badge +2

I’m having messages imported via the API. Are the following things I should be fetched from somewhere or are they typically given to us by the user who has authenticated with the integration?

  • Inbox Id
  • Author Id




Best answer by Support Engineering 11 January 2023, 17:36

View original

1 reply

Userlevel 1
Badge +5

For the inbox ID, it's up to you as you can either insert your message into an existing inbox by listing the inboxes first and then picking one, or use the Create inbox endpoint to create an inbox first.


It's not possible to access information about which teammate performed the OAuth authentication at this time, but you should be able to use the List teammates method to find the teammate you want to attribute a particular message to. Note that the author_id is only relevant for outbound messages though.