variables (literal find/replace).template_id: required, the template UUID. Only templates that arestatus: active and not tied to an email automation can be sent.variables: optional object; keys must be the exact placeholder text"{1}"), values the replacement text.to: like send-text — phone, WhatsApp ID, or username.curl --location '/api/whatsapp/send-template' \
--header 'Content-Type: application/json' \
--data '{
"authkey": "{{authkey}}",
"appkey": "{{appkey}}",
"to": "966501234567",
"template_id": "a1b2c3d4-0000-0000-0000-000000000001",
"variables": {
"{name}": "Sarah",
"{1}": "Order #123"
}
}'{
"success": true,
"data": {
"message_id": 12347,
"channel": "whatsapp",
"from": "966500000000",
"to": "966501234567"
}
}