Send template message
Send a WhatsApp template with flat params (no component arrays). Supports body variables (variables=a,b,c or body1..body20), header text/media, footer, and button params. Sends via the authorized channel credentials only.
Authentication: API key via X-API-Key header (or Authorization: Bearer). Permissions: User API key Rate limit: api_messaging — 20 requests/min per API user.
Authorizations
Preferred. API key value directly.
Query Parameters
Channel id. Auto-selects when omitted.
"ch_123"
Recipient phone or WhatsApp BSUID.
"919876543210"
Template name as synced for the channel.
"order_update"
Template language, auto-resolved from stored template. Default en.
Body variables as comma list, e.g. variables=John,123.
1st body variable (alternative to variables). body2..body20 continue.
Header text variable.
Header media URL (pair with mediaType).
image | video | document.
Footer text variable.
Body
Recipient phone or WhatsApp BSUID.
"919876543210"
Template name as synced for the channel.
"order_update"
Channel id. Auto-selects when omitted.
"ch_123"
Template language, auto-resolved from stored template. Default en.
Body variables as comma list, e.g. variables=John,123.
1st body variable (alternative to variables). body2..body20 continue.
Header text variable.
Header media URL (pair with mediaType).
image | video | document.
Footer text variable.