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-WorkspacestringoptionalPartner 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 | nullrequiredThe sender's name on the unsubscribe and opt-in pages, and the logo's alt text. Null is the workspace name.
1–120 characters
themeEmailThemerequiredThe workspace's email look. Every email's
themeholds only the fields it overrides; the rest come from here.14 child attributes
bodyFontFamilystringoptionalBody font stack, such as
Inter, sans-serif.pattern
^[\w\s,'"-]+$· up to 200 charactersheadingFontFamilystringoptionalHeading font stack.
pattern
^[\w\s,'"-]+$· up to 200 characterscardBackgroundColorstringoptionalBackground of the email card, as hex.
pattern
^#(?:[0-9a-f]{3}|[0-9a-f]{6})$canvasBackgroundColorstringoptionalBackground behind the card, as hex.
pattern
^#(?:[0-9a-f]{3}|[0-9a-f]{6})$textColorstringoptionalDefault text colour, as hex.
pattern
^#(?:[0-9a-f]{3}|[0-9a-f]{6})$accentColorstringoptionalBrand colour for buttons and highlights, as hex.
pattern
^#(?:[0-9a-f]{3}|[0-9a-f]{6})$linkColorstringoptionalLink colour, as hex.
pattern
^#(?:[0-9a-f]{3}|[0-9a-f]{6})$headingColorstringoptionalHeading colour, as hex; unset, headings take
textColor.pattern
^#(?:[0-9a-f]{3}|[0-9a-f]{6})$buttonTextColorstringoptionalLabel 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})$baseFontSizestringoptionalBody text size; headings and buttons scale with it. Unset is
16px.one of
14px,15px,16px,17px,18pxcardWidthstringoptionalWidth of the email card on wide screens.
one of
560px,600px,680pxcardBorderRadiusstringoptionalCorner rounding of the email's card.
one of
0px,6px,12px,16px,24px,999pxbuttonBorderRadiusstringoptionalButton corners;
cardBorderRadiusrounds the email's card and, when this is unset, buttons.one of
0px,6px,12px,16px,24px,999pxbuttonStylestringoptionalButton style.
one of
solid,outline
socialLinksobject[]requiredThe profiles a
socialblock without links of its own shows.at most 10 items
2 child attributes
labelstringrequired1–80 characters
hrefstringrequireduri · pattern
^[^\s{}]*$· up to 2,048 characters
defaultHeaderIdstring | nullrequiredThe shared block gallery and Kiro designs open with, in place of their logo.
uuid
defaultFooterIdstring | nullrequiredThe shared block gallery and Kiro designs close with, in place of their footer. It must hold a
footerblock.uuid
logoobject | nullrequiredWhat a
headerblock without an image of its own shows.4 child attributes
assetIdstringrequireduuid
urlstringrequiredThe image's address in the workspace library.
altstring | nullrequiredNull is
name.widthstring | nullrequiredpattern
^(?:[89]\d|1\d\d|2[0-3]\d|240)px$
updatedAtstring | nullrequiredNull until the brand kit is saved.
date-time