Rename / star / delete a chat

rename (title), star (on; toggles when omitted), delete (the chat is removed permanently with its questions and answers).

POST/api/v1/chats/{id}/{action}

Authorization

Authorizationheaderrequired
Bearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Scope: crm.write

Path parameters

idintegerrequired
Chat id.
actionstringrequired
Action.
Valuesrenamestardelete

Body application/json

titlestringoptional
New title (rename).
onbooleanoptional
Star (star).

Errors

HTTPerrorMeaning
400invalidMissing or invalid field (`message` explains).
404not_foundRecord not found.
Request
curl -X POST https://ornek.solk.app/api/v1/chats/4/rename \
  -H "Authorization: Bearer $SOLK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Geciken aksiyonlar"
}'
Response
{
  "ok": true,
  "title": "Geciken aksiyonlar"
}

Example responses were captured from a v51 installation running sample data; lists are shortened to two items.