Skip to navigation

Get conversation messages

Returns the messages of one conversation in one list, newest first by created_on. Get the ID from List or search conversations. Each message’s direction says whether you sent it or the end user did.

Only page, page_size and user_id are read from the query string. The conversation is picked only by the ID in the path.

Authentication

apiKeystring
API Key authentication via header

Path parameters

conversation_idintegerRequired
ID of the conversation. Only conversations of the API key's account are found.

Query parameters

pageintegerOptionalDefaults to 0

Page number, from 0 to 99999. Default: 0 (the newest page).

page_sizeintegerOptionalDefaults to 20

Items per page, from 1 to 100. Messages and conversation events count together. Default: 20.

user_idstringOptional
Portal user ID, user name or Salesforce user ID.

Response

Retrieved
messageslist of objectsOptional

Messages in both directions, newest first by created_on.

conversation_actionlist of objectsOptional
Conversation events.
voice_conversation_idstring or nullOptional
The linked voice call, if any.

Errors

400
Bad Request Error
404
Not Found Error
405
Method Not Allowed Error
422
Unprocessable Entity Error
502
Bad Gateway Error
504
Gateway Timeout Error