v1

latestOpenAPI 3.1.0© Copyright Partoo2026-07-26163503484.0 KB
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

countinteger

Total number of results available for the filters and dimensions requested.

next_cursorstring nullable

The cursor to use in order to retrieve the next page of data. When all data have been fetched, the value is null.

Example response

{
  "messages": [
    {
      "date": "2023-01-31 16:22:17.327878+00:00",
      "sender_label": "Jane Doe"
    }
  ],
  "count": 1
}