Skip to main content
GET
Query historical messages sent and received across your organization’s messaging channels. Can be filtered by inbox_id to fetch thread history, and ordered chronologically (asc or desc).

Authentication

This endpoint requires Bearer token authentication.

Query Parameters

string
required
Bearer token for authentication. Format: Bearer <token>.
string
Filter messages belonging to a specific conversation ticket UUID.
integer
default:"50"
Maximum number of messages to retrieve (1 to 100).
integer
default:"0"
Number of items to skip for pagination (minimum 0).
string
default:"desc"
Chronological sort order by created_at. Allowed values: asc, desc.

Response Fields

integer
Total count of matching messages.
integer
Computed page index.
integer
Number of items returned in this page.
object[]
Array of message objects.