Approvals

Approve / reject / withdraw

The approver (or an admin) may approve / reject; the requester may cancel. The entry moves to the rule's stage and the requester is notified.

POST/api/v1/approvals/{id}/decide

Authorization

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

Path parameters

idintegerrequired
Request id.

Body application/json

actstringrequired
Decision.
Valuesapproverejectcancel
notestringoptional
Note (max 500 characters).

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/approvals/{id}/decide \
  -H "Authorization: Bearer $SOLK_API_KEY"
Response