1. Message
Cekat Open API
  • Chat
    • Connected Platforms
      • List inboxes
      • List inboxes (legacy) (deprecated)
    • Broadcast
      • Create a template
      • Synchronize templates
      • Delete a template
      • List templates
      • Send a template
      • List recipient lists
      • Upload a recipient list
      • List campaigns
      • Create a campaign
      • Get campaign details
      • List campaign messages (deprecated)
      • Check or reserve template-message balance
    • Conversation
      • List conversations
      • Get a conversation
      • Update a conversation
      • List agent assignments
    • Message
      • List messages
        GET
      • Get AI credit usage
        GET
      • Check or reserve service-message balance
        POST
      • List messages in a conversation
        GET
      • Get a message
        GET
      • Send a WhatsApp message
        POST
  • CRM
    • Contact
      • List contacts
      • Create a contact
      • Search contacts
      • Get contact filter fields
      • Get the contact board
      • Create a contact property
      • Get a contact
      • Update a contact
      • Get contact properties
      • Update contact properties
    • Board
      • List CRM boards
      • Get a CRM board
      • Get a CRM column
      • Get a CRM column by name
      • List CRM board items
      • List CRM board items (page-based) (deprecated)
      • Create a CRM board item
      • Delete CRM board items
      • Search CRM board items
      • Get a CRM board item
      • Update a CRM board item
  • AI
    • List Q&A documents
      GET
    • Create Q&A documents
      POST
    • Delete Q&A documents
      DELETE
    • Generate an AI response (beta)
      POST
    • Get the OrderOnline integration
      GET
    • Delete the OrderOnline integration
      DELETE
  • Orders
    • List orders
      GET
    • Create an order
      POST
    • Get an order
      GET
    • Update an order
      PUT
  • Settings
    • List agents
      GET
    • List agents (v2)
      GET
  • Tickets
    • List ticket boards
    • List ticket templates
    • List tickets
    • Create a ticket
    • Update a ticket
    • Add a product to a ticket
    • Update a ticket product
  1. Message

List messages

GET
/api/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.

Request

Authorization
Add parameter in header
api_key
Example:
api_key: ********************
Query Params

Header Params

Responses

🟢200
application/json
Bodyapplication/json

🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/messages' \
--header 'api_key: <api-key>'
Response Response Example
200 - 200 A page of messages.
{
  "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
    }
  }
}
Modified at 2026-10-13 05:32:46
Previous
Message
Next
Get AI credit usage
Built with