Update the brand
Change parts of a workspace’s brand brain.
brand:update, and a role in the workspace that can edit it: owners and managers can. See Permissions.Content-Type: application/json. A form body or any other content type is refused with 415 (Send the body as JSON.), and JSON that won’t parse with 400. The query string is not read, so workspace_id goes in the body too.
How a save works
- Inside a section, only the fields you send change. The rest stay as they are.
- A list is replaced whole. To add one word, send the full list with it.
competitorstoo: up to 10, and on a paid plan a new handle is read at once. nullclears a field. For a list,nulland[]both clear it.clearclears the fields it names, the same asnull, for a client that can’t sendnull. A field both sent and named inclearrefuses the save with422, at its place inclear(such asclear.0). A path inclearthat is no field you can clear comes back inmeta.ignored, such asclear.voice.mood.- Text is trimmed, and blank text is
null. Blank list items are dropped, and a repeat (in any case) is kept once. Hex colours are upper-cased. A handle loses its leading @. - A value the brand already has is no change, and isn’t checked. You can send back what you read.
- One bad value refuses the whole save with
422, and nothing is saved. - Keys that are no field a person sets are not saved. That means read-only fields (
identity.website,look.logo_url), the brand brain’s own fields (an account’sinsightandnumbers, an example’spost_id,viewsandurl) and unknown keys. They come back inmeta.ignored, with*for a place in a list, such asaccounts.*.insight.
data is the brand after the save, the same as Get the brand. meta.changed lists the fields this save changed, as paths: an account’s field is named by its id, such as accounts.136.voice_note, and the list is empty when nothing changed. meta.ignored lists the keys sent that are no field a person sets.
Errors
Related
- Get the brand: what is there now.
- Brand: each field and its limits.
Authorizations
Body
The workspace, from List workspaces. It goes in the body: the query string is not read.
The competitors they watch: up to 10 { name, handles }, where handles is a list of { network, handle }. This replaces the whole list. On a paid plan a new handle is read at once; how that goes is in watch on Get the brand.
10Fields to clear, by path, such as ["voice.humour", "voice.formality"], for a client that can't send null. Each is cleared as if null were sent to it. It takes any field you can set outside accounts; an account's voice_note clears with null or "". A field cleared here can't also be sent in the body (422).
identity.name, identity.description, identity.slogan, identity.offer, identity.audience, identity.location, identity.languages, identity.industries, identity.socials, voice.traits, voice.formality, voice.energy, voice.humour, voice.emoji, voice.sentence_length, voice.point_of_view, voice.hashtags, voice.cta_style, voice.words_to_use, voice.words_to_avoid, voice.notes, voice.examples, look.colors, look.fonts, look.photo_style, look.photo_avoid, competitors, learnings.wins, learnings.misses, learnings.repeat, learnings.avoid, learnings.trends, rules.never_say, rules.always_include