conversations
List a conversation's messages
Changed onReturns one page of a conversation's messages, both directions, newest first by default (order_by created_at asc reads it oldest first, as a thread shows it). Each message has its full body.
get/conversations/{conversation_id}/messages
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
conversation_idstring uuid required
conversation identifier
Query parameters
limitinteger
max items per page
offsetinteger
pagination offset
order_bystring
Sort expression 'created_at [asc|desc]': when the platform stored each message, newest first by default.
Response
OK
Example response
{
"$schema": "/api/v1/PhoneMessageListResponse.json",
"messages": [
{
"$schema": "/api/v1/PhoneMessage.json"
}
]
}Changes
- info
endpoint added
- info