Broadcast
Broadcast
此页面暂无中文版本。显示默认语言(English)。
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).
Endpoints
POSTCreate a template
/templates→POSTSynchronize templates/templates/sync→DELETEDelete a template/templates/{wa_template_id}→GETList templates/api/templates→POSTSend a template/templates/send→GETList recipient lists/api/recipients→POSTUpload a recipient list/api/recipients→GETList campaigns/api/campaigns→POSTCreate a campaign/api/campaigns→GETGet campaign details/api/v2/campaigns/{id}/messages→GETList campaign messages/api/campaigns/{id}/messages→POSTCheck or reserve template-message balance/api/templates/lock-balance→