WhatsApp Business analytics
wa_analyticsGet WhatsApp Business message analytics including sent, delivered, and read counts, filtered by phone number or country, for a specified time range and granularity.
Instructions
GET /{waba_id}?fields=analytics.start({start}).end({end}).granularity({granularity}) — messages sent/delivered/read by phone number, by country, etc. start/end are unix timestamps in seconds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"waba_id": "<waba_id>",
"start": "<start>",
"end": "<end>",
"granularity": "<granularity>"
},
"name": "wa_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| waba_id | Yes | ||
| start | Yes | ||
| end | Yes | ||
| granularity | Yes | ||
| phone_numbers | No | ||
| country_codes | No |