Search contacts
このページは 日本語 ではまだ利用できません。デフォルトの言語 (English) で表示しています。
Search contacts
https://api.cekat.ai/api/crm/contact/searchFinds contacts that match a filter on standard fields, custom properties, or additional fields. Results are sorted by most recently updated.
Call GET /api/crm/contact/filter-fields first: it lists every field you can filter on, with its field_category, id, type, and allowed operations. Leave out filter to list all contacts.
Authorization
Your Cekat API key, from Settings → Developers & API in the Cekat dashboard.
Alternative to api_key: send the same key as Bearer YOUR_API_KEY.
Body application/json
1min: 1200min: 1max: 200Show child attributes
AND, ORShow child attributes
primary, crm_column, additional_fieldThe field's id from GET /api/crm/contact/filter-fields.
One of the field's operations, for example is, contains, before, after, on_or_before, or on_or_after.
Value to compare against.
Response
Matching contacts.
Show child attributes
Show child attributes
Channel the contact came from, for example whatsapp.
The contact owner's agent ID.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The contact's conversations, one per inbox.
Custom property values, keyed by property (column) name.
The filter you sent.
Show child attributes
The filter, page or limit is invalid, or an operator is not allowed for the field.
Show child attributes
Request ID. Include it when contacting Cekat support.
The API key is missing or invalid.
Show child attributes
Request ID. Include it when contacting Cekat support.
The resource was not found or does not belong to your business.
Show child attributes
Request ID. Include it when contacting Cekat support.
Rate limit exceeded. Wait and retry.
curl --request POST \
--url 'https://api.cekat.ai/api/crm/contact/search' \
--header 'api_key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"page": 1,
"limit": 200,
"filter": {
"condition": "AND",
"criteria": [
{
"field_category": "primary",
"field_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operator": "<string>",
"value": "<string>"
}
]
}
}'
const response = await fetch('https://api.cekat.ai/api/crm/contact/search', {
method: 'POST',
headers: { 'api_key': 'YOUR_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({
"page": 1,
"limit": 200,
"filter": {
"condition": "AND",
"criteria": [
{
"field_category": "primary",
"field_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operator": "<string>",
"value": "<string>"
}
]
}
})
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.cekat.ai/api/crm/contact/search"
headers = {"api_key": "YOUR_API_KEY"}
payload = {
"page": 1,
"limit": 200,
"filter": {
"condition": "AND",
"criteria": [
{
"field_category": "primary",
"field_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operator": "<string>",
"value": "<string>"
}
]
}
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://api.cekat.ai/api/crm/contact/search',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode([
'page' => 1,
'limit' => 200,
'filter' => [
'condition' => 'AND',
'criteria' => [[
'field_category' => 'primary',
'field_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'operator' => '<string>',
'value' => '<string>'
]]
]
]),
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"message": "<string>",
"data": {
"contacts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "Jane Doe",
"phone_number": "6281234567890",
"country_code": "<string>",
"email": "[email protected]",
"type": "<string>",
"platform_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"note": "<string>",
"additional_data": {},
"stage_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z",
"created_by_name": "example_name",
"business": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe"
},
"stage": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe"
},
"agent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe"
},
"pipeline_status": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe"
},
"company": {},
"conversations": [
{}
],
"crm_column": {}
}
],
"filter": {},
"pagination": {
"page": 1,
"limit": 1,
"total_items": 1,
"total_pages": 1,
"has_next_page": true,
"has_previous_page": true
}
}
}
{
"success": true,
"message": "<string>",
"statusCode": 1,
"error": {
"message": "<string>"
},
"correlationId": "<string>"
}
{
"success": true,
"message": "<string>",
"statusCode": 1,
"error": {
"message": "<string>"
},
"correlationId": "<string>"
}
{
"success": true,
"message": "<string>",
"statusCode": 1,
"error": {
"message": "<string>"
},
"correlationId": "<string>"
}
{
"message": "<string>"
}