Bloss Docs

Change the brand's theme

Developers
PATCH
/brands/{brandId}/theme

Set the brand's colour theme, as Settings › Customization does: send { "preset": ... } with one of bloss, evergreen, ocean, sunset, midnight, orchid, citrus, graphite. The older colour config (primaryColor, accentColor, secondaryColor as #rrggbb, and five chartColors) is still accepted. Read the current colours with brand.get (branding).

Authorization

bearerAuth brand:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: brand:write

Path Parameters

brandId*string

A brand id from GET /me or GET /creator/brands.

Length1 <= length

Request Body

application/json
  1. body
preset*string
Value in"bloss""evergreen""ocean""sunset""midnight""orchid""citrus""graphite"

Response Body

Success.

application/json
  1. response
preset*|

The preset saved, or null for a colour config.

colors*|

The colour config saved, or null for a preset.

curl -X PATCH 'https://example.com/api/v1/brands/string/theme' \  -H 'Content-Type: application/json' \  -d '{  "preset": "bloss"}'
{  "preset": "bloss",  "colors": {    "primaryColor": "string",    "accentColor": "string",    "secondaryColor": "string",    "chartColors": [      "string",      "string",      "string",      "string",      "string"    ]  }}

Was this page helpful?