Send WhatsApp Smart Template to Many (Bulk, Unstructured Data)
Bulk-send a WhatsApp smart template by templateId. Send a JSON array of items; AI maps each item to template variables. Important: each array item must include the end userβs phone number or a resolvable contact identifier so the AI can determine the recipient. JSON only. x-api-key can be passed as query or header. Optional stage or stageId and from-phone-number queries. Jobs are enqueued and processed asynchronously. Each item is idempotent: an identical item for the same template within a 10 minute window counts as one send, so webhook retries never message the recipient twice.
Path Parameters
The template ID of the message to be sent
Query Parameters
API key needed to authorize the request
The stage id to send the message to
The stage id to send the message to
The channel phone number to send the message from
Body
The payload to send with the template message. Can be JSON or form data. To add integration data use the key integrationData and the value should be a JSON object with the following structure: { "integrationContactId": "value", "integrationDealId": "value", "additionalData": { "key": "value" } }
Response
Message sent successfully.
