Update contact properties

이 페이지는 아직 한국어 언어로 제공되지 않습니다. 기본 언어(English)로 표시합니다.

Update contact properties

PUThttps://api.cekat.ai/api/crm/contact/{id}/property

Sets custom property values on a contact. Send one entry per property; each type must match the property’s type, and each value is an object whose key depends on the type:

Type value
text, long_text, email, phone {"text": "..."}
number {"number": 10}
checkbox {"checked": true}
date {"date": "2026-10-20T09:00:00+07:00"}
timeline {"from": "<ISO date-time>", "to": "<ISO date-time>"}
select {"label_id": "0"}
dropdown {"label_ids": ["0", "1"]}
agents, contacts, companies, subscriptions, orders, references {"ids": ["..."]}
conversation {"id": "..."}

Text values can be up to 255 characters and long text up to 500 words.

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

idstring<uuid>required

Contact ID.

Body application/jsonrequired

propertiesobject[]required
min items: 1
Show child attributes
column_idstring<uuid>required

The property's id.

typestringrequired

The property's type. Must match the column.

valueobjectrequired

Response

200
400
401
404
429

The properties that were updated.

messagestring
dataobject[]
Show child attributes
column_idstring<uuid>
dataobject | null

The stored value record, or null if the value was cleared.

Show child attributes
idstring
contact_idstring
created_atstring
updated_atstring | null

The body is invalid, a type doesn't match its column, a value is missing its key, or a property type is not supported.

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 contact or a property 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
PUT/api/crm/contact/{id}/property
cURL
JavaScript
Python
PHP
curl --request PUT \
  --url 'https://api.cekat.ai/api/crm/contact/3c90c3cc-0d44-4b50-8888-8dd25736052a/property' \
  --header 'api_key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "properties": [
    {
      "column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "<string>",
      "value": {}
    }
  ]
}'
const response = await fetch('https://api.cekat.ai/api/crm/contact/3c90c3cc-0d44-4b50-8888-8dd25736052a/property', {
  method: 'PUT',
  headers: { 'api_key': 'YOUR_API_KEY', 'Content-Type': 'application/json' },
  body: JSON.stringify({
    "properties": [
      {
        "column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "type": "<string>",
        "value": {}
      }
    ]
  })
});

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

url = "https://api.cekat.ai/api/crm/contact/3c90c3cc-0d44-4b50-8888-8dd25736052a/property"
headers = {"api_key": "YOUR_API_KEY"}
payload = {
    "properties": [
        {
            "column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "type": "<string>",
            "value": {}
        }
    ]
}

response = requests.put(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/3c90c3cc-0d44-4b50-8888-8dd25736052a/property',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'PUT',
  CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY', 'Content-Type: application/json'],
  CURLOPT_POSTFIELDS => json_encode([
    'properties' => [[
      'column_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
      'type' => '<string>',
      'value' => []
    ]]
  ]),
]);

$response = curl_exec($curl);
curl_close($curl);
echo $response;
Response
200
400
401
404
429
{
  "message": "<string>",
  "data": [
    {
      "column_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "data": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "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>"
}