Flito docs
Workspace

Set workspace colours

POST
/api/cap/workspace.update_theme

Set the workspace's own colours, light and dark apart, as hex: accent (buttons, links, selected rows, the focus ring), sidebar (or page for the page's own colour), sidebarText and chart (the series, first to last). Flito works out every other colour. A mode left out keeps its colours and null puts one colour back to the default; reset: true goes back to the default colours, restore: brings an earlier set back. Answers the colours saved and any text that would be hard to read.

Required scopes: workspace:admin. Runs at once.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key (flito_pat_…) from Settings, API & AI connections.

Request Body

application/json
  1. body
input*
idempotencyKey?string

Send the same key to retry safely: the second call returns the first result.

Lengthlength <= 255

Response Body

The capability ran.

application/json
  1. response
result*unknown

The capability’s output.

commitId?|

The config commit, for versioned records.

eventId?string|null
idempotentReplay?boolean

True when this answer is a replay of an earlier call.

Example Request
curl -X POST 'https://crm.yourcompany.com/api/cap/workspace.update_theme' \  -H 'Content-Type: application/json' \  -d '{  "input": {}}'
Example Response
{  "result": null,  "commitId": "string",  "eventId": "string",  "idempotentReplay": true}

Was this page useful?