Set workspace colours
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.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
length <= 255The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/workspace.update_theme' \ -H 'Content-Type: application/json' \ -d '{ "input": {}}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?