f0f28319e448
Get conversation messages
Retrieve messages in a conversation, sorted in the specified order, up to the specified limit.
Permissions
This endpoint is impacted by the following permissions:
- Only messages that the authenticated user has Conversation.GetMessage permission on will be returned.
Path parameters
The identifier of the conversation.
The identifier of the conversation.
Query parameters
The IDs of the messages to retrieve.
The IDs of the messages to retrieve.
The type of messages to retrieve.
The type of messages to retrieve.
The IDs of the interactions to retrieve messages for.
The IDs of the interactions to retrieve messages for.
The maximum number of messages to return. At most 500 messages can be returned in one request.
The maximum number of messages to return. At most 500 messages can be returned in one request.
The continuation token to use to retrieve the next set of messages.
The continuation token to use to retrieve the next set of messages.
The field to sort the messages by. Supported fields are interaction_id and created_at. Specify a + before the field name to indicate ascending sorting and - for descending sorting. Multiple fields can be specified to break ties.
The field to sort the messages by. Supported fields are interaction_id and created_at. Specify a + before the field name to indicate ascending sorting and - for descending sorting. Multiple fields can be specified to break ties.
Headers
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
Response
Succeeded.