Send a WhatsApp template message. The template must be approved by Meta and linked to this app. Variables can be passed using named keys that will be automatically mapped to positional indices.
App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations
Your WhatsApp phone number to send from (E.164 format)
"+15551234567"
Recipient phone number in E.164 format
"+15559876543"
Name of the approved template to send
"order_confirmation"
Language code of the template
"en_US"
Body variables as key-value pairs
{
"customer_name": "John",
"order_id": "12345"
}Header variables as key-value pairs
{ "header_text": "Order Update" }Button URL variables by button index (e.g., button_0: ['value'])
{
"button_0": ["https://example.com/track/12345"]
}