Get SMS logs
Returns the agent's SMS logs, newest first, with pagination and filtering by delivery attributes (status, recipient, sender name) and request attributes (client reference, template, request id, date range).
Request
- Base URLhttps://cpaas.zoho.com/v1.1
- AuthAPI key in header Authorization
Query parameters
Zero-based offset for pagination.
Maximum number of log entries to return.
Filter by message status. Common values: delivered, sent, not-sent, undelivered, failed, processed, process_failed, spam. Detailed telecom/DLT failure codes (e.g. dnd-number, inv-number, tl-nt-found) are also accepted.
Filter by recipient mobile number (with country code).
Filter by sender name.
Filter by the client reference supplied at send time.
Filter by SMS template key.
Filter by the request id returned by the send API.
Start of the date range - an ISO 8601 date-time with UTC offset.
End of the date range - an ISO 8601 date-time with UTC offset.
Response
SMS logs retrieved successfully.
Example response
{
"metadata": {
"count": 10
},
"data": [
{
"status": "delivered",
"process_state": "processed",
"remote_ip": "10.61.232.23",
"chunks": "1"
}
],
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.