Get WhatsApp logs
Returns the agent's WhatsApp message logs, newest first, with pagination and filtering by delivery attributes (status, recipient, sender number) and request attributes (client reference, template, request id, date range). Requires an API token with the WhatsApp scope. Rate limited to 40 requests per minute.
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.
Returns the WhatsApp message logs based on the provided message status. Common values: delivered, read, sent, undelivered, failed, processed, process_failed.
Returns the WhatsApp message logs based on the provided recipient phone number (with country code).
Returns the WhatsApp message logs based on the provided client reference supplied at send time.
Returns the WhatsApp message logs based on the provided WhatsApp template key.
Returns the WhatsApp message logs based on the provided request id returned by the send WhatsApp message 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
WhatsApp logs retrieved successfully.
Example response
{
"metadata": {
"count": 10
},
"data": [
{
"from": "+14155550142",
"to": "+919876543210",
"status": "delivered",
"process_state": "processed",
"remote_ip": "10.61.232.23"
}
],
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.