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_numberandname. 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
0becomes62. 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.
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.
Name of the recipient list.
October promo customersCSV or XLSX file (.csv or .xlsx).
List created; contacts are being imported.
The API key is missing or invalid.
The file is larger than 10 MB.
The name or file is missing, or the file is invalid (wrong type, missing headers, no valid contacts, or too many rows or columns).
Rate limit exceeded. Wait and retry.
A dependency is temporarily unavailable. Retry later.
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