List incoming messages
With the list operation, you can list all inbound messages that you have received. This operation supports pagination. Inbounds are returned in reverse chronological order.
Query parameters
The page number starting from 0.
Determines the size of a page
Only list messages sent to this destination. Multiple phone numbers formatted as either E.164 or short codes can be comma separated.
Only list messages received at or after this date/time. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
Default: Now-24
Only list messages received before this date/time. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
Using a client reference in inbound messages requires additional setup on your account. Contact your account manager to enable this feature.
Only list inbound messages that are in response to messages with a previously provided client reference.
Example response
{
"count": 2,
"inbounds": [
{
"from": "+11203494390",
"id": "01FC66621XXXXX119Z8PMV1QPA",
"operator_id": "35000",
"to": "11203453453"
}
],
"page_size": 2
}