List WhatsApp templates
Returns a paginated list of the WhatsApp templates in your account’s WhatsApp Business Accounts, each with its review status and components.
Every send names a template by its name and language, and this is where those values come from.
Behavior: Templates are ordered from newest to oldest. When several filters are specified, a template must match all of them. Returns 404 when sender doesn’t match a sender on your account.
Requires: Your account must have WhatsApp enabled, must have a subscription plan, and must not be blocked or suspended.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Query Parameters
Filters templates by the ID of the WhatsApp Business Account that owns them, as returned in waba.id by whatsapp_senders_list.
Filters templates by the WhatsApp Business Account of the sender with this phone number, in E.164 format. The leading + is optional.
^\+?\d{6,20}$Filters templates by review status. Possible values:
draft— The template is created but not yet submitted to the provider.pending— The provider is reviewing the template.approved— The template is approved and can be sent.rejected— The provider rejected the template.paused— The provider paused the template.flagged— The provider flagged the template. It can still be sent.disabled— The template is disabled and can't be sent.in_appeal— An appeal of the review decision is in progress.pending_deletion— The template is being deleted.deleted— The template was deleted.unknown— The provider reported a status that Wavix doesn't recognize.
draft, pending, approved, rejected, paused, flagged, disabled, in_appeal, pending_deletion, deleted, unknown Filters templates by name.
Filters templates by language code.
Page number to retrieve. Page numbering starts at 1. Defaults to 1.
Number of records to return per page. Defaults to 25. Values above 100 are treated as 100.