Update a contact
Updates a contact's standard fields and labels. Send only the fields you want to change. To change custom property values, use PUT /api/crm/contact/{id}/property.
put
Authorizations
api_keystringRequired
Your business's Cekat API key, from Settings → Developers & API in the Cekat dashboard (https://chat.cekat.ai/developers?section=apikeys). Available on the Business and Enterprise plans.
Path parameters
contact_idstring · uuidRequired
Body
display_namestringOptional
phone_numberstringOptional
emailstring · emailOptional
notestringOptional
company_idstring · uuidOptional
stage_idstring · uuidOptional
contact_owner_idstring · uuidOptional
Agent ID of the new contact owner. The agent must be active.
label_idsstring · uuid[]Optional
Contact label IDs to add.
Responses
200
The updated contact.
application/json
messagestringOptional
400
The request is invalid.
application/json
401
The API key is missing or invalid.
application/json
404
The contact, company, stage, owner or label was not found.
application/json
409
The new phone number or email already belongs to another contact.
application/json
429
Rate limit exceeded. Wait and retry.
application/json
put/api/crm/contact/{contact_id}
PUT /api/crm/contact/{contact_id} HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"display_name": "Jane Doe",
"note": "Prefers WhatsApp after 5 pm"
}{
"message": "success",
"data": {
"id": "5c6d7e8f-9a0b-4c1d-2e3f-4a5b6c7d8e9f",
"display_name": "Jane Doe",
"phone_number": "6281234567890",
"email": "[email protected]",
"note": "Prefers WhatsApp after 5 pm",
"crm_column": {
"Customer tier": "0"
}
}
}Last updated