Get daily Cloud API analytics for a WhatsApp template
GET/v1/communication/channel/whatsapp/templates/:applicationChannelId/:templateId/analytics
Requires ChannelRead. Resolves the internal template UUID to its provider ID within the authorized channel. Returns UTC DAILY Cloud API data only. Start and end are inclusive UTC calendar dates, up to 30 days per request, within the preceding 90 days, with no future dates. The current day is partial. Upstream data may be delayed. Retrieved data is shared in a five-minute cache; fetchedAt denotes retrieval time, not provider freshness. Missing metrics and totals for incomplete coverage are null, not zero. Missing days remain gaps. Daily unique click counts are additive daily counts, not unique people over the selected period. Sandbox and incompatible channels are not supported. This read never enables analytics. Each application must already be enabled.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 502
- 503
Daily metrics, availability and retrieval metadata.
Response Headers
no-store
Invalid UUID/date input or TEMPLATE_ANALYTICS_INVALID_PERIOD.
Authentication is required.
ChannelRead permission is required.
APPLICATION_CHANNEL_NOT_FOUND or TEMPLATE_ANALYTICS_TEMPLATE_NOT_FOUND; includes resources outside the caller scope.
TEMPLATE_ANALYTICS_NOT_ENABLED or TEMPLATE_ANALYTICS_UNSUPPORTED_CHANNEL.
TEMPLATE_ANALYTICS_RATE_LIMITED or TEMPLATE_ANALYTICS_BUSY. Retry manually after the indicated delay.
Response Headers
Seconds before retrying.
TEMPLATE_ANALYTICS_PROVIDER_ACCESS or TEMPLATE_ANALYTICS_INVALID_RESPONSE; does not indicate an invalid Hub session.
TEMPLATE_ANALYTICS_UNAVAILABLE. Provider or coordination is temporarily unavailable.