Workspaces
Get workspace messages
Retrieve message history for a workspace with pagination and filtering
GET
Authentication
This endpoint requires user authentication. You must be a member of the workspace to access its messages.Path Parameters
The unique identifier of the workspace
Query Parameters
The page number for pagination (default: 1)
The number of messages per page (default: 50, max: 100)
Filter by message direction: “inbound” or “outbound”
Filter by message status: “queued”, “sent”, “delivered”, “failed”, etc.
Filter by sender phone number
Filter by recipient phone number
Filter messages after this date (ISO 8601 format)
Filter messages before this date (ISO 8601 format)
Response
Array of message objects
Unique identifier of the message
Direction of the message: “inbound” or “outbound”
Recipient phone number
Sender phone number
Content of the message
Current status of the message
Provider’s unique identifier for the message
Timestamp when the message was created
Pagination information
Current page number
Total number of pages
Total number of messages
Whether there are more pages