Retrieve the workspace brand kitMenu

Retrieve the workspace brand kit

GET/v1/brand-kit

Requires an API key with the templates:read scope. About keys and scopes

Works with integration, agent and partner keys. Also available to embed sessions.

Returns the workspace brand kit. Until it is saved, it holds the defaults: an empty theme, no name, logo, links, header or footer, and updatedAt null. Every email's theme holds only the fields it overrides; the rest come from here. A header block without an image shows the brand kit's logo, and a social block without links shows its social links. A change restyles templates and draft campaigns and journeys at once. Scheduling or sending a campaign, activating a journey and publishing a template freeze the brand kit that email goes out with, so nothing already approved changes. The default header and footer are what gallery and Kiro designs open and close with; emails that place them follow the shared blocks' own changes.

Header parameters

Kirora-Workspacestringoptional

Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.

pattern ^[A-Za-z0-9._:-]{1,128}$

Returns

Returns 200 OK with a BrandKit in data. Otherwise returns an error; Errors lists every code and which to retry.

namestring | nullrequired

The sender's name on the unsubscribe and opt-in pages, and the logo's alt text. Null is the workspace name.

1–120 characters

themeEmailThemerequired

The workspace's email look. Every email's theme holds only the fields it overrides; the rest come from here.

14 child attributes
bodyFontFamilystringoptional

Body font stack, such as Inter, sans-serif.

pattern ^[\w\s,'"-]+$ · up to 200 characters

headingFontFamilystringoptional

Heading font stack.

pattern ^[\w\s,'"-]+$ · up to 200 characters

cardBackgroundColorstringoptional

Background of the email card, as hex.

pattern ^#(?:[0-9a-f]{3}|[0-9a-f]{6})$

canvasBackgroundColorstringoptional

Background behind the card, as hex.

pattern ^#(?:[0-9a-f]{3}|[0-9a-f]{6})$

textColorstringoptional

Default text colour, as hex.

pattern ^#(?:[0-9a-f]{3}|[0-9a-f]{6})$

accentColorstringoptional

Brand colour for buttons and highlights, as hex.

pattern ^#(?:[0-9a-f]{3}|[0-9a-f]{6})$

linkColorstringoptional

Link colour, as hex.

pattern ^#(?:[0-9a-f]{3}|[0-9a-f]{6})$

headingColorstringoptional

Heading colour, as hex; unset, headings take textColor.

pattern ^#(?:[0-9a-f]{3}|[0-9a-f]{6})$

buttonTextColorstringoptional

Label colour of solid buttons in accentColor, as hex; unset, white or near-black, whichever reads on it.

pattern ^#(?:[0-9a-f]{3}|[0-9a-f]{6})$

baseFontSizestringoptional

Body text size; headings and buttons scale with it. Unset is 16px.

one of 14px, 15px, 16px, 17px, 18px

cardWidthstringoptional

Width of the email card on wide screens.

one of 560px, 600px, 680px

cardBorderRadiusstringoptional

Corner rounding of the email's card.

one of 0px, 6px, 12px, 16px, 24px, 999px

buttonBorderRadiusstringoptional

Button corners; cardBorderRadius rounds the email's card and, when this is unset, buttons.

one of 0px, 6px, 12px, 16px, 24px, 999px

buttonStylestringoptional

Button style.

one of solid, outline

socialLinksobject[]required

The profiles a social block without links of its own shows.

at most 10 items

2 child attributes
labelstringrequired

1–80 characters

hrefstringrequired

uri · pattern ^[^\s{}]*$ · up to 2,048 characters

defaultHeaderIdstring | nullrequired

The shared block gallery and Kiro designs open with, in place of their logo.

uuid

defaultFooterIdstring | nullrequired

The shared block gallery and Kiro designs close with, in place of their footer. It must hold a footer block.

uuid

logoobject | nullrequired

What a header block without an image of its own shows.

4 child attributes
assetIdstringrequired

uuid

urlstringrequired

The image's address in the workspace library.

altstring | nullrequired

Null is name.

widthstring | nullrequired

pattern ^(?:[89]\d|1\d\d|2[0-3]\d|240)px$

updatedAtstring | nullrequired

Null until the brand kit is saved.

date-time