v1

latestOpenAPI 3.0.02026-07-2612645160.3 KB
WhatsApp Message

Send a template message

Send a specific template message to a given phone number. Optionally group sends into a campaign by passing a "campaign" object ({ id, name? }): same id → same campaign (get-or-create; name is last-write-wins).

post/api/public/whatsapp/message/send

Headers

x-api-keystring required

API key needed to authorize the request

Request body

contact_namestring
emailstring email

Email of the contact

variablesstring[] required
meta_dataobject
stage_idstring
phonestring required

Phone number to send the template to

template_namestring required

Name of the template to send

agent_idstring
from_phone_numberstring

Phone number to send the template from

Response

Message sent successfully.