cURL
WhatsApp Templates
Create app template
Create a new WhatsApp message template. The template will be submitted to Meta for review and automatically linked to this app for webhook events.
POST
cURL
Authorizations
App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations
Body
application/json
The ID of the WhatsApp Business Profile to create the template for
Example:
"wabp_abc123"
Template name (lowercase letters, numbers, underscores only, must start with a letter)
Required string length:
1 - 512Pattern:
^[a-z][a-z0-9_]*$Example:
"order_confirmation"
Language code (BCP 47 format)
Required string length:
2 - 10Example:
"en_US"
Template category
Available options:
MARKETING, UTILITY, AUTHENTICATION Example:
"UTILITY"
Template components (must include at least a BODY)
Minimum array length:
1Example:
[
{
"type": "BODY",
"text": "Hello {{customer_name}}, your order #{{order_id}} has been confirmed!"
}
]
Response
Template created and linked to app
Available options:
MARKETING, UTILITY, AUTHENTICATION Available options:
PENDING, APPROVED, REJECTED, PAUSED, DISABLED