Set a note's labels

Replaces the note's labels with the given list (max 6; deleted ids are dropped). Whoever may edit the note (author or admin) can change them; the note's 'last edited' date does not change.

POST/api/v1/notes/{id}/labels

Authorization

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

Path parameters

idintegerrequired
Note id.

Body application/json

labelsarrayrequired
Label ids.

Errors

HTTPerrorMeaning
400invalidMissing or invalid field (`message` explains).
403forbiddenYou may not see / edit this record.
404not_foundRecord not found.
Request
curl -X POST https://ornek.solk.app/api/v1/notes/{id}/labels \
  -H "Authorization: Bearer $SOLK_API_KEY"
Response