Skip to main content
GET

Authentication

This endpoint requires user authentication. You must be a member of the workspace to access its messages.

Path Parameters

string
required
The unique identifier of the workspace

Query Parameters

number
The page number for pagination (default: 1)
number
The number of messages per page (default: 50, max: 100)
string
Filter by message direction: “inbound” or “outbound”
string
Filter by message status: “queued”, “sent”, “delivered”, “failed”, etc.
string
Filter by sender phone number
string
Filter by recipient phone number
string
Filter messages after this date (ISO 8601 format)
string
Filter messages before this date (ISO 8601 format)

Response

array
Array of message objects
string
Unique identifier of the message
string
Direction of the message: “inbound” or “outbound”
string
Recipient phone number
string
Sender phone number
string
Content of the message
string
Current status of the message
string
Provider’s unique identifier for the message
string
Timestamp when the message was created
object
Pagination information
number
Current page number
number
Total number of pages
number
Total number of messages
boolean
Whether there are more pages