Messages
List messages
This endpoint lets you retrieve the messages for a specific conversation.
⚠️ This endpoint is paginated using cursor pagination. This means that in order to get the next page of results, you need to provide the cursor returned in the previous call.
get/messages
Query parameters
conversation_idinteger required
The id of the conversation
per_pageinteger
Number of items to return per page.
cursorstring
The cursor identifiying the page of data to fetch. If no cursor is provided, the query will return the first page of data. A cursor for the next page of data is provided in the response of this request.
Response
OK
Example response
{
"messages": [
{
"date": "2023-01-31 16:22:17.327878+00:00",
"sender_label": "Jane Doe"
}
],
"count": 1
}