Get a CRM column by name

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

Get a CRM column by name

POSThttps://api.cekat.ai/api/crm/boards/{boardId}/columns/by-name

Looks up a board column by its exact name, for when you know the name but not the ID.

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.

Path parameters

boardIdstring<uuid>required

Body application/jsonrequired

namestringrequired

Response

200
400
401
404
429

The column.

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

The board or column was not found.

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/boards/{boardId}/columns/by-name
cURL
JavaScript
Python
PHP
curl --request POST \
  --url 'https://api.cekat.ai/api/crm/boards/3c90c3cc-0d44-4b50-8888-8dd25736052a/columns/by-name' \
  --header 'api_key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Jane Doe"
}'
const response = await fetch('https://api.cekat.ai/api/crm/boards/3c90c3cc-0d44-4b50-8888-8dd25736052a/columns/by-name', {
  method: 'POST',
  headers: { 'api_key': 'YOUR_API_KEY', 'Content-Type': 'application/json' },
  body: JSON.stringify({
    "name": "Jane Doe"
  })
});

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

url = "https://api.cekat.ai/api/crm/boards/3c90c3cc-0d44-4b50-8888-8dd25736052a/columns/by-name"
headers = {"api_key": "YOUR_API_KEY"}
payload = {
    "name": "Jane Doe"
}

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/boards/3c90c3cc-0d44-4b50-8888-8dd25736052a/columns/by-name',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY', 'Content-Type: application/json'],
  CURLOPT_POSTFIELDS => json_encode([
    'name' => 'Jane Doe'
  ]),
]);

$response = curl_exec($curl);
curl_close($curl);
echo $response;
Response
200
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>"
}