Templates
Retrieve the workspace brand theme
GET/v1/brand-theme
Requires an API key with the templates:read scope. About keys and scopes
Any member. Every email's theme holds only the fields it overrides; the rest come from here. 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 look that email goes out with, so nothing already approved changes. Templates saved before the brand existed carry every field, so they keep their look until a field is reset.
Returns
Returns 200 OK with a EmailTheme in data. Otherwise returns an error; Errors lists every code and which to retry.
fontstringoptionalBody font stack, such as
Inter, sans-serif.up to 200 characters
hfontstringoptionalHeading font stack.
up to 200 characters
bgstringoptionalBackground of the email card, as hex.
canvasstringoptionalBackground behind the card, as hex.
textstringoptionalDefault text colour, as hex.
accentstringoptionalBrand colour for buttons and highlights, as hex.
linkstringoptionalLink colour, as hex.
widthstringoptionalWidth of the email card on wide screens.
one of
560px,600px,680pxradiusstringoptionalCorner rounding of the email's card.
one of
0px,6px,12px,16px,24px,999pxbtnRadiusstringoptionalButton corners;
radiusrounds the email's card and, when this is unset, buttons.one of
0px,6px,12px,16px,24px,999pxbtnstringoptionalButton style.
one of
solid,outline