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

Create a campaign

Sends an approved template to every contact in a recipient list, now or at a scheduled time. Messages go out in batches of 20.

The campaign is created with status: processing (sending now) or status: scheduled. Track it with GET /api/campaigns and GET /api/v2/campaigns/{id}/messages. Carousel templates are not supported.

post
Authorizations
api_keystringRequired

Your business's Cekat API key, from Settings → Developers & API in the Cekat dashboard (https://chat.cekat.ai/developers?section=apikeys). Available on the Business and Enterprise plans.

Body
campaign_namestringRequiredExample: October promo
inbox_idstring · uuidRequired

The WhatsApp inbox that sends the campaign. It must own the template.

recipient_list_idstring · uuidRequired

ID from POST /api/recipients or GET /api/recipients.

template_idstringRequired

The template's wa_template_id.

Example: 1234567890123456
template_body_variablesstring[]Optional

One value per body variable, in order. The count must match the template's highest variable number, and values cannot be empty. Use name or phone_number to insert each recipient's own name or number.

Example: ["name","10"]
schedule_atstring · date-timeOptional

When to start sending, as an ISO 8601 date-time in the future (for example 2026-10-20T09:00:00+07:00). Leave out to send immediately.

label_idstring · uuidOptional

Optional label added to each recipient's conversation. Follow-ups set up for this label in the inbox also run.

Responses
201

Campaign created and queued.

application/json
successbooleanOptional
post/api/campaigns
POST /api/campaigns HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 257

{
  "campaign_name": "October promo",
  "inbox_id": "0f9e8d7c-6b5a-4c3d-2e1f-0a9b8c7d6e5f",
  "recipient_list_id": "8e7d6c5b-4a39-4281-9f0e-1d2c3b4a5968",
  "template_id": "1234567890123456",
  "template_body_variables": [
    "name",
    "10"
  ],
  "schedule_at": "2026-10-20T09:00:00+07:00"
}
{
  "success": true,
  "data": {
    "id": "c4b3a291-8f7e-4d6c-b5a4-93827160f5e4",
    "campaign_name": "October promo",
    "status": "scheduled",
    "created_at": "2026-10-12T09:45:00.000000+00:00"
  }
}

Last updated