For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. Create a template with POST /templates. Meta reviews it; its status starts as PENDING.

  2. Check approval with GET /api/templates. Only templates with status: APPROVED can be sent. If you created or edited templates directly in Meta, call POST /templates/sync first to copy them into Cekat.

  3. Send to one contact with POST /templates/send, or continue below to send to many.

  4. Upload a recipient list with POST /api/recipients. Contacts are imported in the background; poll GET /api/recipients until the list's total_contacts matches the number returned by the upload.

  5. Create a campaign with POST /api/campaigns, using the template's wa_template_id as template_id. Leave out schedule_at to send right away.

  6. Track results with GET /api/campaigns for totals and GET /api/v2/campaigns/{id}/messages for 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