Send Template Message
Send an approved WhatsApp Message Template by its template id, with ordered body parameters.
Authorizations
API key for authentication. Create one in Settings > Developer.
Body
Destination phone number in full international format, including the country code and without a leading + — for example 6281234567890 (Indonesia) or 60123456789 (Malaysia). A number in local format that starts with 0 is only resolved when countryCode is sent as well.
"6281234567890"
Identifier of the approved WhatsApp template to send. Despite the field name, this is the template's id, not its display name: use a bitCRM template id when template_source is CRM, or a bitLogin template id when it is AUTH.
"3f7c1e28-9b4a-4c31-8f2d-6a5e0b71d9c4"
Template source — CRM for business templates, AUTH for OTP
CRM, AUTH Messaging channel to use
whatsapp cloud api, whatsapp coex Values for the template body placeholders, substituted in the order they appear in the template. The array must match the placeholder sequence exactly.
Custom media URL for media templates — overrides the template default
If true, skip sending when the chat is actively handled by an agent
ISO 3166-1 alpha-2 country code. Used only as a fallback when to is in local format; it is ignored when to already carries a country code. Supported values: ID, SG, MY, TH, VN, PH, MM, KH, LA, BN, TL. Prefer sending to in full international format instead of relying on this field.
"ID"
Response
Template message sent successfully

