API Reference
List templates
/{waba-id}/message_templateshttps://whatsapp.mimicr.dev/v24.0 · provider: https://graph.facebook.com/v24.0Lists the message templates of the WhatsApp Business Account, with cursor pagination (limit, after, before; paging.next when there are more). Filters accept comma-separated values.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
WhatsApp Business Account (WABA) ID.
"313255174969123"Query parameters
Filter by name (partial match).
Filter by status, e.g. APPROVED,PENDING.
Filter by category.
Filter by language code.
Filter by quality score.
Filter by template ID.
Comma-separated fields to return, e.g. name,status,category,language,components.
total_count adds a summary with the template count and limit.
Page size (default 25).
Cursor of the next page.
Cursor of the previous page.
Responses
200Templates.
Show child attributes
Template ID.
Template name.
Language and locale code.
Review status.
APPROVEDPENDINGREJECTEDPAUSEDDISABLEDCategory.
MARKETINGUTILITYAUTHENTICATIONSub-category, when set.
Category before Meta recategorized the template.
Category after recategorization.
Variable format.
POSITIONALNAMEDTime-to-live of messages sent with the template.
Show child attributes
Quality.
GREENYELLOWREDUNKNOWNUnix timestamp of the score.
Rejection reason (NONE when not rejected).
Last update, YYYY-MM-DDTHH:MM:SS+0000.
Show child attributes
Component type.
HEADERBODYFOOTERBUTTONSHEADER format.
TEXTIMAGEVIDEODOCUMENTLOCATIONText with variables {{1}}, {{2}}… (or {{name}} with parameter_format: NAMED).
Sample values, required when the component has variables.
Show child attributes
Sample values of the body variables.
Sample values of the header variables.
Handle of a sample header media, from the Resumable Upload API.
Authentication BODY: appends the security disclaimer.
Authentication FOOTER: code expiry in minutes (1 to 90).
BUTTONS: 1 to 10 buttons.
Show child attributes
Button type.
QUICK_REPLYURLPHONE_NUMBERCOPY_CODEOTPFLOWCATALOGMPMVOICE_CALLButton label.
URL button target, may end with a {{1}} variable.
PHONE_NUMBER button.
OTP button: COPY_CODE, ONE_TAP or ZERO_TAP.
Sample value.
Show child attributes
Show child attributes
Cursor that points to the start of the page.
Cursor that points to the end of the page.
URL of the next page, present only when there are more results.
Show child attributes
Number of templates.
Number of templates.
Template limit of the account.
401Missing, invalid or revoked access token (190; a revoked token adds error_subcode: 460). A missing token answers 400 with code 104.
Show child attributes
Human-readable error message, for WhatsApp errors prefixed with (#code).
Exception type.
"OAuthException"Error code. See the error codes reference.
More specific code, when there is one (for example 33 for objects that do not exist or are not visible to the token, 460 for revoked tokens, 2388024 for duplicate templates).
Title meant to be shown to the end user.
Message meant to be shown to the end user.
Show child attributes
Always whatsapp.
Details about the error.
Trace ID. Include it when you contact support.