Ana içeriğe geç

Per-template sent / delivered / read / clicks, and the consent gating them

GET 

/api/channels/:channel/whatsapp/template-analytics

Meta returns none of this until the WABA has been opted in with POST /<WABA_ID>?is_enabled_for_insights=true — a call Meta documents as IRREVERSIBLE, and which accepts on the tenant's behalf that Meta may add insights to the account (link tracking included) and collect and anonymise data from their customers' conversations.

So this endpoint ALWAYS answers, and when consent is absent it reports that state in status with report: null — it never reaches Meta's analytics edge unasked. Admin-gated (Channel view).

The figures come from OUR stored daily snapshots, not from a live call. Meta discards a template's read and click counts seven days after the send, so an on-demand read would report older campaigns as zero engagement rather than as unknown.

Request​

Responses​

The consent state and, when consent exists, the numbers.