List Messages
List all messages with optional filtering and pagination. Results are sorted by creation date, newest first.
Authentication
PINNACLE-API-KEYstring
API Key authentication via header
Request
This endpoint expects an object.
pageIndex
pageSize
direction
Allowed values:
status
type
Allowed values:
method
Filter by the method used to send the message.
Allowed values:
from
Filter by sender phone number (E.164 format) or agent id.
to
Filter by recipient phone number (E.164 format).
content
Search message content (partial match, case-insensitive).
dateFrom
Filter messages created on or after this date (ISO 8601 format).
dateTo
Filter messages created on or before this date (ISO 8601 format).
Response
Returns paginated list of messages.
data
hasMore
count
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error

