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

Upload a recipient list

Creates a recipient list from a CSV or XLSX file, for use in campaigns.

File format

  • The first row must be headers and include phone_number and name. Other columns are saved as extra recipient data.

  • Up to 5,000 contacts, 100 columns and 10 MB. Only the first worksheet is read.

  • Phone numbers: non-digits are removed and a leading 0 becomes 62. Rows with fewer than 7 digits are skipped, and duplicate numbers are kept once.

Contacts are imported in the background. Poll GET /api/recipients until total_contacts for the list matches the total_contacts returned here before creating a campaign.

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
namestringRequired

Name of the recipient list.

Example: October promo customers
filestring · binaryRequired

CSV or XLSX file (.csv or .xlsx).

Responses
201

List created; contacts are being imported.

application/json
successbooleanOptional
post/api/recipients
POST /api/recipients HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 50

{
  "name": "October promo customers",
  "file": "binary"
}
{
  "success": true,
  "data": {
    "id": "8e7d6c5b-4a39-4281-9f0e-1d2c3b4a5968",
    "name": "October promo customers",
    "total_contacts": 1250
  }
}

Last updated