List inboxes

Halaman ini belum tersedia dalam Bahasa Indonesia. Menampilkan bahasa default (English).

List inboxes

GEThttps://api.cekat.ai/api/inboxes

Lists the channels connected to your business (WhatsApp, Instagram, Messenger, live chat and others), newest first. Deleted inboxes are not included.

Authorization

api_keystringheaderrequired

Your Cekat API key, from Settings → Developers & API in the Cekat dashboard.

Authorizationstringheader

Alternative to api_key: send the same key as Bearer YOUR_API_KEY.

Query parameters

pageinteger
default: 1min: 1
limitinteger
default: 10min: 1
start_datestring<date>

Only include items created on or after this date (YYYY-MM-DD). Cannot be combined with start_datetime.

end_datestring<date>

Only include items created on or before the end of this date (YYYY-MM-DD). Cannot be combined with end_datetime.

start_datetimestring

Only 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.

end_datetimestring

Only include items created at or before this time (YYYY-MM-DDTHH:mm:ss, optional offset). Cannot be combined with end_date.

versionstring

Response format version in YYYY-MM-DD format. Use 2026-05-22 or later to get created_at as an ISO 8601 UTC timestamp.

pattern: ^\d{4}-\d{2}-\d{2}$

Headers

X-User-Timezonestring

IANA time zone used to read date filters that have no offset. Defaults to Asia/Jakarta.

Response

200
400
401
429

A page of inboxes.

successboolean
dataInbox[]
Show child attributes
idstring<uuid>

Inbox ID. Use it as inbox_id in other endpoints.

business_idstring<uuid>
namestring
descriptionstring | null
phone_numberstring | null

The channel's phone number, for WhatsApp inboxes.

typestring

Channel type.

Available options: whatsapp, whatsapp_mobile, livechat, instagram, messenger, tokopedia, shopee, custom_api, instagram_comment, facebook_comment, email, tiktok_business_messaging, google_play_review
statusstring
Available options: active, inactive, processing
is_whatsapp_coexistenceboolean | null

True when the WhatsApp number is also used in the WhatsApp Business app (coexistence).

auto_reassignboolean | null
ai_agent_idstring<uuid> | null

AI agent assigned to the inbox, if any.

ai_agent_namestring | null
flow_modeboolean | null

True when the inbox replies with a flow instead of an AI agent.

flow_idstring<uuid> | null
flow_namestring | null
created_atstring

Creation time. ISO 8601 UTC with version=2026-05-22 or later; otherwise Asia/Jakarta local time without an offset.

metadataobject
Show child attributes

The request is invalid.

successboolean
messagestring
statusCodeinteger
errorobject
Show child attributes
messagestring
correlationIdstring

Request ID. Include it when contacting Cekat support.

The API key is missing or invalid.

successboolean
messagestring
statusCodeinteger
errorobject
Show child attributes
messagestring
correlationIdstring

Request ID. Include it when contacting Cekat support.

Rate limit exceeded. Wait and retry.

messagestring
GET/api/inboxes
cURL
JavaScript
Python
PHP
curl --request GET \
  --url 'https://api.cekat.ai/api/inboxes' \
  --header 'api_key: YOUR_API_KEY'
const response = await fetch('https://api.cekat.ai/api/inboxes', {
  method: 'GET',
  headers: { 'api_key': 'YOUR_API_KEY' },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.cekat.ai/api/inboxes"
headers = {"api_key": "YOUR_API_KEY"}

response = requests.get(url, headers=headers)
print(response.json())
<?php
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => 'https://api.cekat.ai/api/inboxes',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY'],
]);

$response = curl_exec($curl);
curl_close($curl);
echo $response;
Response
200
400
401
429
{
  "success": true,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "business_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "Jane Doe",
      "description": "<string>",
      "phone_number": "6281234567890",
      "type": "whatsapp",
      "status": "active",
      "is_whatsapp_coexistence": true,
      "auto_reassign": true,
      "ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "ai_agent_name": "example_name",
      "flow_mode": true,
      "flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "flow_name": "example_name",
      "created_at": "2026-01-15T09:30:00Z"
    }
  ],
  "metadata": {
    "pagination": {
      "current_page": 1,
      "total_page": 1,
      "total_items": 1
    }
  }
}
{
  "success": true,
  "message": "<string>",
  "statusCode": 1,
  "error": {
    "message": "<string>"
  },
  "correlationId": "<string>"
}
{
  "success": true,
  "message": "<string>",
  "statusCode": 1,
  "error": {
    "message": "<string>"
  },
  "correlationId": "<string>"
}
{
  "message": "<string>"
}