Retrieving a Conversation's Messages

GET https://driftapi.com/conversations/<conversationId>/messages?next(optional)

Returns the messages in the conversation with id equal to the given conversationId. The format of the data field is:

{
  "messages": [(Message)]
}

Where message is the schema specified for that object. The response includes a pagination section. The next field there can be used as the optional next parameter, which goes to the next page of messages. Pages are always of size 50.

Note that attachments within any messages must be separately retrieved. See "Retrieving Conversation Attachments" for more information.


Did this page help you?