Templates, placeholders and components
What a WhatsApp template is, what it is made of, and how placeholders work.
A template is a pre-written message that WhatsApp has approved, with numbered blanks you fill in each time you send it.
What a template is
WhatsApp (Meta) only lets a business start a conversation with an approved template. That is why every notification uses one. Once a customer writes to you, you can reply freely for 24 hours without a template.
What a template is made of
name
The template's name. Lowercase letters, digits and underscores only. Each name and language pair must be unique.
description
What the template is for.
language
The language the template is written in. If it does not match the text, Meta rejects the template. See Meta's supported languages.
category
MARKETING, UTILITY or AUTHENTICATION. Each has its own rules.
status
Whether WhatsApp has approved it (see below).
components
The parts of the message (see below).
Status
A new template starts as PENDING. Meta then marks it APPROVED or REJECTED. Only APPROVED templates can be sent. Meta's template guidelines list the reasons for rejection.
Category and speed
Channel360 queues messages by template category. AUTHENTICATION templates (such as one-time PINs) use the fastest lane. MARKETING templates use the standard lane. UTILITY handling depends on your organisation settings.
You do not choose a lane in the request. The approved template category decides it.
Components and placeholders
A template has up to four components:
Header — an optional top line: text, an image, a video or a document.
Body — the main text. Required.
Footer — an optional short line at the bottom.
Buttons — optional buttons, such as a link or a quick reply.
A placeholder is a numbered blank such as {{1}}. Placeholders are numbered within each component. For example, the order_shipped template looks like this:
When you send it, you fill each blank in the request. Filling template placeholders shows how.
Related
Manage templates through the APITags vs. the APILast updated
Was this helpful?