Broadcast
Send WhatsApp templates to one contact or to a whole recipient list.
Use these endpoints to manage WhatsApp message templates, upload recipient lists, and run broadcast campaigns.
Typical flow
Create a template with
POST /templates. Meta reviews it; itsstatusstarts asPENDING.Check approval with
GET /api/templates. Only templates withstatus: APPROVEDcan be sent. If you created or edited templates directly in Meta, callPOST /templates/syncfirst to copy them into Cekat.Send to one contact with
POST /templates/send, or continue below to send to many.Upload a recipient list with
POST /api/recipients. Contacts are imported in the background; pollGET /api/recipientsuntil the list'stotal_contactsmatches the number returned by the upload.Create a campaign with
POST /api/campaigns, using the template'swa_template_idastemplate_id. Leave outschedule_atto send right away.Track results with
GET /api/campaignsfor totals andGET /api/v2/campaigns/{id}/messagesfor each recipient's delivery status and replies.
Every step needs the inbox_id of a connected WhatsApp inbox. Get it from GET /api/inboxes (the id of an inbox whose type is whatsapp).
Last updated