Authentication

Update the profile

Only the fields you send change; all are validated first (nothing is written if one is invalid). Palette and theme are the same as Settings › Appearance on the web. PATCH is accepted too.

POST/api/v1/profile

Authorization

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

Body application/json

full_namestringoptional
Full name (2–120 characters; < > are removed).
phonestringoptional
Phone.
palettestringoptional
Colour palette (palettes[].key; empty = company colour).
Valuesgraphitepetrolnavyvioletplumwalnut
themestringoptional
Theme.
Valueslightdarksystem

Errors

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