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.
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.
October promoThe WhatsApp inbox that sends the campaign. It must own the template.
ID from POST /api/recipients or GET /api/recipients.
The template's wa_template_id.
1234567890123456One 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.
["name","10"]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.
Optional label added to each recipient's conversation. Follow-ups set up for this label in the inbox also run.
Campaign created and queued.
The request is invalid.
The API key is missing or invalid.
A required field is missing, the inbox, template or recipient list was not found, the inbox is not WhatsApp, the variables don't match the template, or schedule_at is invalid or in the past.
Rate limit exceeded. Wait and retry.
The campaign was saved but could not be queued, and has been marked failed. Create it again.
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