v1

latestOpenAPI 3.0.02026-07-2612645160.3 KB
WhatsApp Message

Send a template message with unstructured data

Send a specific template message to a given phone number. Don't worry about the structure, if the data is in the body AI will take care of it. Optionally group sends into a campaign with a top-level "campaign" key ({ id, name? }): same id → same campaign (get-or-create; name is last-write-wins).

post/api/public/whatsapp/message/send/template/{templateId}

Path parameters

templateIdstring required

The template ID of the message to be sent

Query parameters

x-api-keystring required

API key needed to authorize the request

stagestring

The stage id to send the message to

from-phone-numberstring required

Request body

object required
OR
string binary required

Example request

{
  "key": "value"
}

Response

Message sent successfully.