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

Get a message

Returns one message by its ID.

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
message_idstringRequired
Responses
200

The message.

application/json
successbooleanOptional
status_codeintegerOptional
get/messages/{message_id}
GET /messages/{message_id} HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "status_code": 1,
  "data": {
    "id": "text",
    "conversation_id": "123e4567-e89b-12d3-a456-426614174000",
    "message": "text",
    "sent_by": "text",
    "sent_by_name": "text",
    "sent_by_type": "text",
    "media_type": "text",
    "media_url": "text",
    "platform_mid": "text",
    "status": "text",
    "is_template": true,
    "created_at": "text",
    "updated_at": "text",
    "chat_credits_used": 1,
    "location": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "action": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "additional_data": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "contact": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "display_name": "text",
      "phone_number": "text",
      "platform_id": "text",
      "username": "text",
      "type": "text"
    },
    "inbox": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "business_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "phone_number": "text",
      "type": "text"
    },
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}

Last updated