List messages
Lists messages across your business, or in one conversation, with each message's contact and inbox.
Without date filters, only today's messages are returned (in your X-User-Timezone, default Asia/Jakarta). With only a start date, results run to the end of today.
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.
1100descPossible values: true to return only contact messages that came from a click-to-WhatsApp ad.
falsetrue for template messages only, false to exclude them.
Only include items created on or after this date (YYYY-MM-DD). Cannot be combined with start_datetime.
2026-10-01Only include items created on or before the end of this date (YYYY-MM-DD). Cannot be combined with end_datetime.
2026-10-31Only include items created at or after this time (YYYY-MM-DDTHH:mm:ss, optional offset such as +07:00 or Z). Cannot be combined with start_date.
2026-10-01T08:00:00+07:00Only include items created at or before this time (YYYY-MM-DDTHH:mm:ss, optional offset). Cannot be combined with end_date.
2026-10-31T23:59:59+07:00Response format version in YYYY-MM-DD format. Use 2026-05-22 or later to get created_at as an ISO 8601 UTC timestamp.
2026-05-22Pattern: ^\d{4}-\d{2}-\d{2}$IANA time zone used to read date filters that have no offset. Defaults to Asia/Jakarta.
Asia/JakartaA page of messages.
A filter is invalid, or limit is above 2000.
The API key is missing or invalid.
Rate limit exceeded. Wait and retry.
GET /api/messages HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": [
{
"id": "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d",
"conversation_id": "3a4b5c6d-7e8f-4a0b-9c1d-2e3f4a5b6c7d",
"message": "Masih berlaku sampai kapan?",
"sent_by": "5c6d7e8f-9a0b-4c1d-2e3f-4a5b6c7d8e9f",
"sent_by_name": "Jane Doe",
"sent_by_type": "user",
"media_type": "text",
"media_url": null,
"platform_mid": "wamid.HBgNNjI4MTIzNDU2Nzg5MBUCABIYFjNFQjA",
"status": "read",
"is_template": null,
"created_at": "2026-10-20T02:16:10.000Z",
"updated_at": "2026-10-20T02:16:10.000Z",
"business_id": "2f7431e4-cd89-4daf-a40d-a5d779b3dd1e",
"chat_credits_used": null,
"location": null,
"action": null,
"additional_data": null,
"contact": {
"id": "5c6d7e8f-9a0b-4c1d-2e3f-4a5b6c7d8e9f",
"display_name": "Jane Doe",
"phone_number": "6281234567890",
"platform_id": "6281234567890",
"username": null,
"type": "whatsapp"
},
"inbox": {
"id": "0f9e8d7c-6b5a-4c3d-2e1f-0a9b8c7d6e5f",
"business_id": "2f7431e4-cd89-4daf-a40d-a5d779b3dd1e",
"name": "Toko Utama",
"phone_number": "6281200000000",
"type": "whatsapp"
}
}
],
"metadata": {
"pagination": {
"current_page": 1,
"current_items": 1,
"total_page": 1,
"total_items": 1
}
}
}Last updated