Comments

Add a comment

Starts a thread on the record or replies with reply_to (a resolved thread reopens). Users in mentions are added to the text as @Full Name and notified.

POST/api/v1/comments

Authorization

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

Body application/json

kindstringrequired
Record type.
Valuescustomeroppcontactthreadlentry
obj_idintegerrequired
Record id.
bodystringrequired
Text (max 5,000 characters).
reply_tointegeroptional
Comment being replied to.
mentionsarrayoptional
Mentioned user ids (max 10).

Errors

HTTPerrorMeaning
400invalidMissing or invalid field (`message` explains).
Request
curl -X POST https://ornek.solk.app/api/v1/comments \
  -H "Authorization: Bearer $SOLK_API_KEY"
Response