Send a WhatsApp smart template by templateId. Provide unstructured data in JSON or multipart form-data; AI maps it to template variables. Important: include the end userβs phone number or a resolvable contact identifier in the payload so the AI knows the recipient. Supports optional integrationData payload. Requires x-api-key as query param. Optional stage and from-phone-number queries.
The template ID of the message to be sent
API key needed to authorize the request
The stage id to send the message to
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" } }
The body is of type object.
Message sent successfully.