List SMS Messages
Get the history of text messages (SMS) sent and received on your platform.
You can narrow the list down using the filters — for example by user, by phone number, by direction (sent or received), or by status.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
Show only messages where this user either sent or received the message.
Show only messages sent by this user.
Show only messages received by this user.
Show only messages sent from this phone number.
Show only messages sent to this phone number.
Show only messages that involve this phone number, whether it sent or received.
Show only 'inbound' messages (received) or 'outbound' messages (sent).
Show only messages in this state: 1 = waiting to send, 2 = sent, 3 = delivered, 4 = failed, 5 = received.
How many messages to return per page (1 to 200).
1 <= x <= 200How many messages to skip before this page starts.
x >= 0Response
Successful Response
Standard response wrapper for list responses.
Declare ListResponse[list[SomeModel]] to render the real data
array schema in OpenAPI/Swagger; a bare ListResponse leaves data
untyped.
HTTP status code for the response.
Payload or error details.
UTC timestamp (milliseconds since epoch) when response was generated.
Total rows matching the request filters (not just this page).
x >= 0Page size used for this response. Null for cursor-paginated endpoints.
x >= 11-indexed page number for this response. Null for cursor-paginated endpoints.
x >= 1Total number of pages given the current limit. Null for cursor-paginated endpoints.
x >= 0Cursor for the next page, if available.

