Skip to main content

Get Theme Settings

Returns the theme configuration for a project, including design tokens, colors, typography, and other global styling settings configured in the Weaverse Studio editor. When the locale query parameter is provided, also returns staticTranslations — the resolved static text translations for that locale (e.g., cart labels, button text, navigation strings).

Authentication

Requires a Content API key. See Authentication.

Path parameters

Query parameters

The format can also be requested via Accept: application/portable-text+json. The query parameter takes precedence when both are present. See Get Page › Portable Text format for the conversion rules and a rendering example.

Response

Without locale

With locale

Response fields

The theme object shape varies per project and depends on how theme settings are configured in the Weaverse Studio. Use the response data to apply consistent styling across your frontend.
Use the List Languages endpoint to discover available locales before requesting translations.

Portable Text format

With ?format=portable-text, the response carries Content-Type: application/portable-text+json and any HTML-valued leaf inside theme or staticTranslations is converted in place. Non-HTML strings, numbers, booleans, colors, and the surrounding object structure are preserved exactly — only richtext leaves change shape.
In the default weaverse format the same copyright field is returned as the original HTML string "<p>&copy; 2026 <em>Acme Inc.</em></p>".

Errors

Examples