Skip to main content

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

     

Thanks

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.

 

--Henry


Reply