Search Sent and Received Messages
Retrieve a list of messages within a specific date range. Supports filtering by from/to dates.
GET /messages/history
Required Permission
read:SingleSMSYour API key must have this permission enabled in order to use this endpoint.
Example Request
curl --location 'https://<hostname>/messages/history?fromDate=2025-10-01&toDate=2025-10-11' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY'Replace YOUR_API_KEY with your API key.
Query Parameters
Field
Type
Required
Description
fromDate
string (YYYY-MM-DD)
Yes
Start date of the search range.
toDate
string (YYYY-MM-DD)
Yes
End date of the search range.
offset
number
No
Number of records to skip (for pagination).
limit
number
No
Maximum number of records to return.
Response (HTTP 200)
Last updated