Create a contact property

此页面暂无中文版本。显示默认语言(English)。

Create a contact property

POSThttps://api.cekat.ai/api/crm/contact/property

Adds a custom property (column) to your contacts. If the name is already used, a number is added to make it unique.

For select and dropdown, list the options in settings.labels; if you leave them out, three placeholder labels are created. Accounts that haven’t moved to the new contact table can only create text, number, select, date and checkbox properties.

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.

Body application/jsonrequired

namestringrequired
typestringrequired
Available options: text, long_text, email, phone, number, date, timeline, checkbox, select, dropdown, conversation, agents, contacts, companies, subscriptions, orders, references
settingsobject
Show child attributes
labelsCrmColumnLabel[]

Options for select and dropdown properties.

Show child attributes
idstring

Label ID. Use it as the value for select and dropdown columns.

namestring
colorstring
is_requiredboolean
default: false
is_visibleboolean
default: true
is_uniqueboolean
default: false
read_onlyboolean
default: false

Response

201
400
401
404
429

Property created.

messagestring
dataCrmColumn

A board column (field) or contact property.

Show child attributes
idstring<uuid>
board_idstring<uuid>
namestring
typestring
Available options: text, long_text, email, phone, number, timeline, date, checkbox, select, dropdown, file, files, reference, references, agents, contacts, conversation, order, orders, companies, subscriptions, item_deals
settingsobject

Type-specific settings. select and dropdown columns list their options in labels.

Show child attributes
labelsCrmColumnLabel[]
Show child attributes
idstring

Label ID. Use it as the value for select and dropdown columns.

namestring
colorstring
default_valuestring | null
is_requiredboolean
is_visibleboolean
is_uniqueboolean
read_onlyboolean
positionnumber
created_atstring<date-time>
updated_atstring<date-time> | null

The name or type is missing or not allowed, or the settings are 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.

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
POST/api/crm/contact/property
cURL
JavaScript
Python
PHP
curl --request POST \
  --url 'https://api.cekat.ai/api/crm/contact/property' \
  --header 'api_key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Jane Doe",
  "type": "text"
}'
const response = await fetch('https://api.cekat.ai/api/crm/contact/property', {
  method: 'POST',
  headers: { 'api_key': 'YOUR_API_KEY', 'Content-Type': 'application/json' },
  body: JSON.stringify({
    "name": "Jane Doe",
    "type": "text"
  })
});

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

url = "https://api.cekat.ai/api/crm/contact/property"
headers = {"api_key": "YOUR_API_KEY"}
payload = {
    "name": "Jane Doe",
    "type": "text"
}

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/property',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY', 'Content-Type: application/json'],
  CURLOPT_POSTFIELDS => json_encode([
    'name' => 'Jane Doe',
    'type' => 'text'
  ]),
]);

$response = curl_exec($curl);
curl_close($curl);
echo $response;
Response
201
400
401
404
429
{
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "Jane Doe",
    "type": "text",
    "settings": {
      "labels": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "Jane Doe",
          "color": "<string>"
        }
      ]
    },
    "default_value": "<string>",
    "is_required": true,
    "is_visible": true,
    "is_unique": true,
    "read_only": true,
    "position": 10000,
    "created_at": "2026-01-15T09:30:00Z",
    "updated_at": "2026-01-15T09:30:00Z"
  }
}
{
  "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>"
}