Skill: Manage Brand Kit

Reference for the Manage Brand Kit skill, which lists, reads, creates and updates your brand kits and chooses the default kit.

The Manage Brand Kit skill lets an agent read and update your brand kits, add a kit, and choose which kit is the default. A call that names no kit acts on the default kit.

Key and role

NeedsFor
Marketing > Brand Kit Read on the keyget, list
Marketing > Brand Kit Write on the keycreate, put, set_default
A key created by an owner or admincreate, put, set_default. Otherwise 403 INSUFFICIENT_ROLE

The skill can’t delete a kit. Delete kits in Marketing > Brand Kit.

Actions

actionRouteWhat it does
getGET /api/v2/brand-kit, or GET /api/v2/brand-kit/kits/{kit_id}Without kit_id, the default kit. NOT_FOUND until your organization has a kit. With kit_id, that kit
listGET /api/v2/brand-kit/kitsYour kits, oldest first, each with its id, name, whether it is the default, when it changed and its logo URLs
createPOST /api/v2/brand-kit/kitsAdds a kit. Needs name; the other fields are as for put. Your organization’s first kit becomes its default
putPUT /api/v2/brand-kit, or PUT /api/v2/brand-kit/kits/{kit_id}Changes the fields you send on the default kit, or on kit_id’s kit, and empties the ones in clear_fields. Needs at least one of them. With kit_id, name renames the kit
set_defaultPOST /api/v2/brand-kit/kits/{kit_id}/defaultMakes kit_id’s kit the default. The old default stays as an ordinary kit

Parameters

ParameterTypeUsed byNotes
actionstringAllRequired. get, list, create, put or set_default
kit_idstring (UUID)get, put, set_defaultThe kit to act on, from list. Leave it out for the default kit. Required for set_default. Not taken by list or create
namestringcreate, putRequired for create. At most 120 characters, unique in your organization ignoring case. On put, renames the kit and needs kit_id
cursorstringlistThe nextCursor from the previous page
logo_urlstringcreate, putAn absolute http:// or https:// URL on a public host, at most 2,048 characters. Replacing or clearing it drops the uploaded PNG copy
primary_colorsarray of stringscreate, putUp to 12 hex colours such as #0F172A. Replaces the whole list
secondary_colorsarray of stringscreate, putUp to 12 hex colours. Replaces the whole list
voicestringcreate, putHow the brand sounds. At most 500 characters
taglinestringcreate, putAt most 300 characters
elevator_pitchstringcreate, putAt most 2,000 characters
brand_pillarsarray of { id, name, description }create, putThe whole list, at most 10. Each name at most 120 characters, each description at most 500. Keep an existing pillar’s id, because Positioning refers to it; give a new pillar a new UUID. A pillar you leave out is removed
messaging_defaultsobjectcreate, putDefault messaging keyed by linkedin, email and landing_page, each at most 1,000 characters. Sending any channel replaces the whole map, so a channel you leave out is erased
clear_fieldsarray of stringsputThe fields to empty. See below

Read the kit with get before you send brand_pillars or messaging_defaults, and send back everything that should stay.

Clearing fields

put can empty logo_url, primary_colors, secondary_colors, voice, tagline, elevator_pitch, brand_pillars and messaging_defaults. Name them in clear_fields; a null, blank or empty argument leaves the field alone. Clearing brand_pillars removes every pillar. create refuses clear_fields.

Refusals

CodeWhy
INSUFFICIENT_ROLE (403)The key wasn’t created by an owner or admin
NOT_FOUND (404)No kit has that kit_id in your organization, or, for get with no kit_id, your organization has no kit yet
BRAND_KIT_NAME_TAKEN (409)Another kit has that name, ignoring case
PILLAR_IN_USE (409)The change removes a pillar that a draft or active Positioning applies
INVALID_BRAND_PILLARS (400)Over 10 pillars, a field over its limit, or a repeated or reused pillar id
INVALID_LOGO_URL (400)logo_url isn’t an absolute URL on a public host

Related: Brand kits | Marketing skills | App API: brand kits