Get campaign details
Lists every recipient's message in a campaign, newest first, with delivery status, failure reason, and whether they replied or tapped a button. Recommended over GET /api/campaigns/{id}/messages.
get
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.
Path parameters
idstring · uuidRequired
Campaign ID.
Query parameters
pageinteger · min: 1OptionalDefault:
1limitinteger · min: 1 · max: 100OptionalDefault:
20Responses
200
A page of campaign messages.
application/json
successbooleanOptional
400
page or limit is out of range.
application/json
401
The API key is missing or invalid.
application/json
404
The resource was not found or does not belong to your business.
application/json
429
Rate limit exceeded. Wait and retry.
application/json
get/api/v2/campaigns/{id}/messages
GET /api/v2/campaigns/{id}/messages HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": [
{
"id": "6f5e4d3c-2b1a-4098-8f7e-6d5c4b3a2918",
"campaign_id": "c4b3a291-8f7e-4d6c-b5a4-93827160f5e4",
"campaign_name": "October promo",
"conversation_id": "3a4b5c6d-7e8f-4a0b-9c1d-2e3f4a5b6c7d",
"phone_number": "6281234567890",
"name": "Jane Doe",
"message": "Halo Jane Doe, ada diskon 10% untuk Anda bulan ini!",
"media_type": "image",
"media_url": "https://cdn.example.com/promo.png",
"template_category": "MARKETING",
"sent_by": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"sent_by_name": "Admin Toko",
"sent_by_type": "agent",
"created_at": "2026-10-20T02:00:05.000Z",
"date_sent": "2026-10-20T02:00:06.000Z",
"last_status": "read",
"last_status_at": "2026-10-20T02:15:42.000Z",
"sent": true,
"delivered": true,
"read": true,
"failed": false,
"error": "",
"replied": true,
"is_replied": true,
"button_clicked": false,
"agent_replied": false,
"first_reply_id": "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
"first_reply_message": "Masih berlaku sampai kapan?",
"first_reply_sent_by": "5c6d7e8f-9a0b-4c1d-2e3f-4a5b6c7d8e9f",
"first_reply_sent_by_name": "Jane Doe",
"first_reply_media_url": "",
"first_reply_media_type": "text",
"first_reply_created_at": "2026-10-20T02:16:10.000Z"
}
],
"metadata": {
"pagination": {
"current_page": 1,
"total_page": 63,
"limit_per_page": 20,
"total_items": 1250
}
}
}Last updated