Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header
"{{orgPhone}}"
Query Parameters
- The offset value for paginating the results
- Default 0
"0"
- The maximum number of messages to retrieve
- Default 2000
"10"
- The start_time to filter the results
"2025-04-25 or 2025-04-25T00:00:00Z"
- The end_time to filter the results
"2025-04-31 or 2025-04-31T23:59:59Z"
Response
200 OK
The response is a JSON object with the following properties:
The starting index of the returned messages.
1
The ending index of the returned messages.
10
The total count of messages.
10
An array of message objects. Refer to the message object here