Get all your WhatsApp activity (unaggregated events)
This endpoint will show the unaggregated statistics for WhatsApp activity (30 days by default if startDate and endDate or days is not passed. The date range can not exceed 90 days)
Query parameters
Number limitation for the result returned
Beginning point in the list to retrieve from
Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate
Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate
Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
Filter results for specific contact (WhatsApp Number with country code. Example, 85264318721)
Filter the report for a specific event type
Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed
Response
WhatsApp events report
Example response
{
"events": [
{
"contactNumber": "919876543210",
"date": "2017-03-12T12:30:00.000+0000",
"messageId": "23befbae-1505-47a8-bd27-e30ef739f32c",
"event": "delivered",
"reason": "23befbae-1505-47a8-bd27-e30ef739f32c",
"body": "Hi! I am a reply",
"mediaUrl": "https://example.com/media.png",
"senderNumber": "919876543210"
}
]
}