WhatsApp message templates
list_whatsapp_templatesCheck WhatsApp template approval status, language, and variable count to avoid send failures. Filter by name, status, or language.
Instructions
The message templates on one WhatsApp Business Account with the REVIEW STATUS Meta actually holds for each. THE STATUS IS THE POINT: an APPROVED template is the only thing WhatsApp accepts outside the 24-hour customer-service window, and Meta’s own refusal for anything else says "the template does not exist in the specified language or the template has not been approved" — two completely different problems in one sentence. Each row also reports its LANGUAGE, because Meta treats en and en_US as different templates and sending against the wrong one is refused as if it were unapproved. Each row also reports the VARIABLES the template carries — the distinct {{1}}, {{2}} placeholders per component, with the total — because send_whatsapp_message must supply EXACTLY that many and Meta refuses a mismatch with 132000. Read the count off that field, never off the one-line body preview, which is capped. Read-only, 0 credits. Needs Meta connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | filter to one template name (Meta matches it exactly) | |
| limit | No | how many (1–200, default 50) | |
| status | No | filter to one review status, e.g. APPROVED or PENDING | |
| wabaId | No | the WhatsApp Business Account id, from list_whatsapp_accounts. Optional when exactly one account is shared with this brand; required when several are, and refused by name for one that is not shared | |
| language | No | filter to one language code, e.g. en_US |