List Conversation Messages
Retrieve a paginated and filtered list of messages for a specific conversation.
Authentication
PINNACLE-API-KEYstring
API Key authentication via header
Path parameters
id
Unique identifier of the conversation. This identifier is a string that always begins with the prefix conv_, for example: conv_1234567890.
Query parameters
pageIndex
Zero-based index for pagination.
pageSize
Number of messages to return per page.
sortOrder
Sort order for messages. <br>
- `asc`: Oldest messages first
- `desc`: Newest messages first (default)
Allowed values:
direction
Filter messages by direction. <br>
- `INBOUND`: Messages received from contacts
- `OUTBOUND`: Messages sent to contacts
Allowed values:
status
Filter messages by delivery status.
type
Filter messages by protocol type.
Allowed values:
dateFrom
Filter messages sent on or after this date (ISO 8601 format).
dateTo
Filter messages sent on or before this date (ISO 8601 format).
Response
Returns a paginated list of messages in the conversation.
messages
Array of messages in the conversation.
hasMore
Indicates if more messages are available beyond the current page.
count
Total number of messages in the conversation.

