Create, update, delete, and query WhatsApp message templates (WhatsApp Cloud API). Templates must be submitted to Meta for approval before use. Supports 11 template types including text-only, media header, carousel, call-to-action, authentication, and flow templates. Use searchString to filter by name, category, language, or status.
Call-to-action (CTA) is an umbrella term, not a single template type. It covers any template carrying interactive buttons — quick-reply, static/dynamic URL, phone-number, flow, and OTP buttons — used alone or mixed in one template. The send examples group all of these under the CTA — … heading for this reason.
WhatsApp Lite limitation: WhatsApp Lite only supports text and media templates. Interactive template types (call-to-action buttons, carousel, authentication, flow) are not supported on WhatsApp Lite.
Marketing templates (Cloud API): Meta requires that marketing templates include an opt-out mechanism (e.g. a quick-reply "Stop" button). Including an opt-out button significantly reduces your block rate — recipients who can unsubscribe gracefully are far less likely to block your number. Templates without an opt-out option risk rejection or may negatively impact your number's quality rating. See the Account & Number Health section for full details.
Submit a new WhatsApp message template for Meta approval. The template is validated locally and forwarded to Meta's template review process. Approval typically takes minutes but can take up to 24 hours.
Supports 11 template types — see the request examples for each type. The response includes the template ID and initial status (pending).
Marketing templates (Cloud API): If your template category is MARKETING, you should include a quick-reply opt-out button (e.g. "Stop promotions") as part of your template components. This is a Meta policy requirement — marketing templates without an opt-out mechanism risk rejection and can negatively impact your number's quality rating and messaging limits. Including an opt-out button reduces your block rate, which is the primary factor Meta uses to assess number quality.
WhatsApp Lite: Only text and media template types are supported. Interactive components (call-to-action buttons, carousel, authentication, flow) are not available on WhatsApp Lite.
- Mock serverhttps://ecommunicate-api-docs.redocly.app/_mock/apis/omnichannel/whatsapp-api-service/whatsAppTemplates/createTemplate
- https://api.payless4messaging.comhttps://api.payless4messaging.com/whatsapp-api-service/whatsAppTemplates/createTemplate
- https://api.payless4messages.comhttps://api.payless4messages.com/whatsapp-api-service/whatsAppTemplates/createTemplate
curl -i -X POST \
https://ecommunicate-api-docs.redocly.app/_mock/apis/omnichannel/whatsapp-api-service/whatsAppTemplates/createTemplate \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"template_name": "seasonal_promo_text",
"language": "en_GB",
"category": "MARKETING",
"number": "+1234567890",
"allow_category_change": true,
"components": [
{
"type": "BODY",
"text": "Hi {{1}}, don'\''t miss our sale!",
"example": {
"body_text": [
[
"John"
]
]
}
}
]
}'{ "template_id": "1234567890123456", "template_name": "seasonal_promo_2024", "status": "APPROVED", "category": "MARKETING", "language": "en_GB" }