Templates
Get Templates
List all WhatsApp templates for your account, including their approval status and components 📋
POST
Get Templates
Retrieve all WhatsApp templates associated with your business account. Templates with the same name but different language translations are grouped together as a template group. Use this endpoint to check approval status after submitting a new template, to see the category Meta currently applies to each one, and to find the campaigns that send it.
Template status values:
You do not need to send
Endpoint
Request body
The body is optional — send{} to list every template.
include_campaigns adds a field, it does not filter. only_with_campaigns filters: use it when you want the templates you actually send rather than every template on the account. See Returning only the templates you use.
Every other field in the body is accepted for backwards compatibility but does not filter the response.
Response
Returns a list of template groups underentity.templateGroups. Each group contains one or more language variants.
Meta reclassifies per language, and a template group holds one template per language. When they disagree, the group reports
MARKETING and the exact per-language value stays on templates[].externalTemplate.whatsapp.category.campaigns lists campaigns built on Connectly’s current campaign flows. A template used only by an older campaign returns no campaigns. An empty list means no campaign was found — never that the lookup failed, which returns an error instead.Returning only the templates you use
A business on a shared WhatsApp account sees every template on that account, which can be several thousand, while sending only a handful of them. Setonly_with_campaigns to get just the ones a
campaign in this business sends:
include_campaigns as well — only_with_campaigns implies it, and the
surviving groups still carry their campaigns array.
The same scoping applies as above: a template that only another business on your WhatsApp account
sends has no campaigns here, so it is filtered out too.
Response size
This endpoint is not paginated, and it returns every template on your WhatsApp account rather than only the ones this business created. If the account is shared, expect a large response and several seconds to receive it.only_with_campaigns is currently the only field that narrows the response. The other fields in the
request body are accepted but ignored, so they cannot be used to make it smaller.
Example
The
externalTemplate.whatsapp object contains the raw template data as returned directly by Meta, alongside Connectly’s own representation in templateComponents. Use templateComponents for the Connectly-native format.