SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
site builder

Set the brand design system; the platform writes the tokens into css/base.css.

Send a style and the colors and typography you chose. Unknown or invalid values fall back to sensible defaults and contrast problems are reported. The managed token block sits between the design-system markers at the top of css/base.css; write your own rules below it and use the tokens.

PUThttps://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/design-system

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

stylestring

One of the names from GET /projects/{id}/design-system styles.

colorsobject

Hex colors: primary, secondary, accent, bg, surface, text, muted.

typographyobject

{ heading, body, heading_weight, body_weight } Google Fonts family names.

brandobject

{ name, voice, logo_path }.

Response

Response Body

design_systemobjectThe saved design system.
changedarray of stringsStylesheet paths rewritten.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.siteBuilder.updateProjectDesignSystem('<id>', {});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 200

{
"data": {
"design_system": {},
"changed": []
}
}