RaabtaHQ
Templates

Templates

Approved WhatsApp message templates.

The template object

As returned by GET /templates. Every endpoint below that returns this resource returns exactly these fields.

NameTypeDescription
idrequired
string (uuid)UUID
namerequired
stringThe name Meta knows the template by — what you pass when sending
languagerequired
string | nullLanguage code, e.g. en_US
categoryrequired
stringMarketing | Utility | Authentication
statusrequired
string | nullMeta approval status: APPROVED | PENDING | REJECTED | DRAFT …
header_typerequired
string | nulltext | image | video | document, or null for no header
header_contentrequired
string | nullHeader text (may contain {{1}}) or the sample media
body_textrequired
stringBody with {{n}} placeholders
footer_textrequired
string | nullSmall print under the body, when the template has one
buttonsrequired
map<string, any>[] | nullButton definitions as configured
paramsrequired
map<string, any>[] | nullWhat fills each {{n}} at send time, when a mapping was configured
quality_scorerequired
string | nullGREEN | 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.