Update contact properties
此页面暂无中文版本。显示默认语言(English)。
Update contact properties
https://api.cekat.ai/api/crm/contact/{id}/propertySets 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
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.
Path parameters
Contact ID.
Body application/jsonrequired
1Show child attributes
The property's id.
The property's type. Must match the column.
Response
The properties that were updated.
Show child attributes
The stored value record, or null if the value was cleared.
Show child attributes
The body is invalid, a type doesn't match its column, a value is missing its key, or a property type is not supported.
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 contact or a property was not found.
Show child attributes
Request ID. Include it when contacting Cekat support.
Rate limit exceeded. Wait and retry.
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;
{
"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>"
}