One-time confirmation to enable template analytics for this WABA
/v1/templates/analytics/enableA one-time confirmation to enable template analytics for this WABA. Once enabled it cannot be turned off.
Send Authorization: Bearer <API_KEY> in the request headers; required scope: templates:manage. Which resources an API Key can reach is determined by its current authorization scope.
Request
Base URL: https://api.bluehola.com
Request body
A request body is required.
Request body fields
| Field | Type | Required | Description |
|---|---|---|---|
wabaId | string | Yes | The platform's WABA id (waba_...) |
Content-Type: application/json
Schema:
{
"type": "object",
"properties": {
"wabaId": {
"type": "string",
"description": "string · required — The platform's WABA id (waba_...)"
}
},
"required": [
"wabaId"
]
}
Response
| Status | Description |
|---|---|
200 | OK |
4xx | Client error |
200 response schema
{
"$ref": "#/components/schemas/TemplateInsightsEnabled"
}
For the common error envelope and how to handle it, see Error Codes.
Notes
This is a standalone endpoint rather than something turned on as a side effect of a read call: per Meta's own description, confirming enablement means authorizing Meta to collect and anonymize your and your customers' chat data and to track clicks on links inside templates, and once enabled it cannot be turned off. A decision like that needs someone to press the button deliberately.
Meta only starts collecting template analytics data for this WABA after it is enabled — meaning there is no historical data from before enablement.