Get contact filter fields
Get contact filter fields
Halaman ini belum tersedia dalam Bahasa Indonesia. Menampilkan bahasa default (English).
Get contact filter fields
GET
https://api.cekat.ai/api/crm/contact/filter-fieldsLists every field you can use in POST /api/crm/contact/search, including standard fields, custom properties, and additional fields, with the operators each one supports.
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.
Response
200
401
404
429
Filterable fields.
messagestring
dataobject[]
Show child attributes
field_categorystring
Available options:
primary, crm_column, additional_fieldfilter_keystring
idstring
Use as field_id in a search.
namestring
typestring
operationsstring[]
optionsstring[]
Allowed values, for select fields.
The API key is missing or invalid.
successboolean
messagestring
statusCodeinteger
errorobject
Show child attributes
messagestring
correlationIdstring
Request ID. Include it when contacting Cekat support.
The resource was not found or does not belong to your business.
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/crm/contact/filter-fields
cURL
JavaScript
Python
PHP
curl --request GET \
--url 'https://api.cekat.ai/api/crm/contact/filter-fields' \
--header 'api_key: YOUR_API_KEY'
const response = await fetch('https://api.cekat.ai/api/crm/contact/filter-fields', {
method: 'GET',
headers: { 'api_key': 'YOUR_API_KEY' },
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.cekat.ai/api/crm/contact/filter-fields"
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/crm/contact/filter-fields',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY'],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Response
200
401
404
429
{
"message": "<string>",
"data": [
{
"field_category": "primary",
"filter_key": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Jane Doe",
"type": "<string>",
"operations": [
"<string>"
],
"options": [
"<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>"
}