Templates
Approved WhatsApp message templates.
The template object
As returned by GET /templates. Every endpoint below that returns this resource returns exactly these fields.
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | UUID |
namerequired | string | The name Meta knows the template by — what you pass when sending |
languagerequired | string | null | Language code, e.g. en_US |
categoryrequired | string | Marketing | Utility | Authentication |
statusrequired | string | null | Meta approval status: APPROVED | PENDING | REJECTED | DRAFT … |
header_typerequired | string | null | text | image | video | document, or null for no header |
header_contentrequired | string | null | Header text (may contain {{1}}) or the sample media |
body_textrequired | string | Body with {{n}} placeholders |
footer_textrequired | string | null | Small print under the body, when the template has one |
buttonsrequired | map<string, any>[] | null | Button definitions as configured |
paramsrequired | map<string, any>[] | null | What fills each {{n}} at send time, when a mapping was configured |
quality_scorerequired | string | null | GREEN | YELLOW | RED as reported by Meta |
created_atrequired | string (date-time) | ISO 8601 timestamp |
updated_atrequired | string (date-time) | null |
Endpoints
2 endpoints, each on its own page with its parameters, responses, error codes and samples in curl, Node and Python.