Send a single WhatsApp template message to a contact. Each request sends one approved template to one recipient, with support for named/positional body parameters, button URL parameters, and header media.
name body parameter is provided)fiq_ prefix| Field | Type | Required | Description |
|---|---|---|---|
templateName | string | Yes | Name of the approved WhatsApp template |
whatsappNumber | string | Yes | Recipient phone number (automatically normalized) |
bodyParameters | object | No | Key-value pairs for template body variables |
buttonParameters | object | No | Key-value pairs for template button URL variables |
headerMedia | string | No | URL for the template header media (image/video/document) |
memberId | string | No | Team member UUID (marks message as sent by human agent) |
{{name}}, {{shop}}:
{{1}}, {{2}}:
| Placeholder | Replaced With |
|---|---|
{{first_name}} | Contact’s first name (extracted from full name) |
{{full_name}} | Contact’s full name |
{{email}} | Contact’s email address |
{{phone_number}} | Contact’s phone number |
{{whatsapp_id}} | Contact’s WhatsApp ID |
https://example.com/track/{{1}}), pass the variable portion in buttonParameters:
headerMedia field with a publicly accessible URL.
| Header Type | Max Size | Supported Formats |
|---|---|---|
| Image | 5 MB | JPEG, PNG |
| Video | 16 MB | MP4 |
| Document | 100 MB | PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX |
name body parameter is provided:
contact_source: "send_template_auto_create" and the message is sent immediately.
name body parameter is provided, a 400 error is returned with a message suggesting you provide bodyParameters.name to auto-create.success is false and the error is surfaced:
Bearer token for authentication. Format: Bearer fiq_YOUR_API_KEY
Name of the approved WhatsApp template
"welcome_message"
Recipient phone number (automatically normalized)
"+27123456789"
Key-value pairs for template body variables. Supports named (e.g. name, shop) or positional (e.g. 1, 2) keys. Values can include contact field placeholders like {{first_name}}.
{
"name": "{{first_name}}",
"order_status": "shipped"
}Key-value pairs for template button URL variables
{ "tracking_url": "ABC123" }Publicly accessible URL for template header media (image, video, or document)
"https://example.com/promo-banner.jpg"
Team member UUID — marks the message as sent by a human agent instead of the bot