v1
latestOpenAPI 3.0.32026-07-268345159.5 KBTemplate Analytics
Get Template Analytics for a template
This API endpoint retrieves analytics data for WhatsApp message templates. It provides insights into template performance including messages sent, delivered, read, and button clicks with flexible time ranges and granularity options.
get/partner/app/{appId}/template/analytics
Path parameters
appIdstring required
Unique identification of the app
Query parameters
startinteger required
endinteger required
granularitystring
Optional (default : AGGREGATE)
metric_typesstring
Optional(Default: SENT,DELIVERED,READ,CLICKED)
template_idsstring required
limitinteger required
linit should be in range of 0 -30
Headers
tokenstring required
Your app token, please refer Get access token api to get the token from partner documentation.
Response
Successful response
Example response
{
"status": "success",
"template_analytics": [
{
"delivered": 0,
"end": 1712016000,
"read": 0,
"sent": 0,
"start": 1711929600,
"template_id": "c0758280-9f0a-45d4-8452-c48c2d45c82f"
}
]
}