remagicaDocs home
API referenceBrand kits

Update a brand kit

PATCH
/brand-kits/{brandKitId}

Needs a key withbrand:write

Changes a brand kit: the fields you send replace theirs (lists whole, in order); the rest stay.

Requires scope brand:write.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Path Parameters

brandKitId*string
Length1 <= length <= 128

Request Body

application/json
  1. body
donts?array<>

Rules the brand never breaks.

Itemsitems <= 20
dos?array<>

Rules the brand always follows.

Itemsitems <= 20
mission?string

What the brand is for, in a sentence or two.

Lengthlength <= 4000
photography?

How the brand's photos look: chips for lighting, mood, composition and colour treatment.

spacing?

Spacing and layout.

values?array<>

The brand's values, as short phrases.

Itemsitems <= 20
colors?array<>
Itemsitems <= 24
fonts?array<>
Itemsitems <= 6
guidelines?string

How to use the brand: do's and don'ts, layout, wording. Added to the prompt of nodes that use the kit.

Lengthlength <= 8000
logos?array<>

Replaces the logos (in order); left out, they're kept.

Itemsitems <= 10
name?string
Length1 <= length <= 120
references?array<>

Replaces the references (in order); left out, they're kept.

Itemsitems <= 24
scope?string

Move it to the Team, or (its creator only) make it Private.

Value in"private""team"
tone?string

The brand's tone of voice. Added to the prompt of nodes that use the kit.

Lengthlength <= 8000

Response Body

The brand kit.

application/json
  1. response

A brand kit.

createdAt*string
Formatdate-time
id*string
Length1 <= length <= 128
ownerUserId*string|null
scope*string

team: every member of the workspace sees and uses it. private: only you (in this workspace). API keys act for the workspace, so they use team only.

Value in"private""team"
updatedAt*string
Formatdate-time
colors*array<>
donts*array<string>
dos*array<string>
fonts*array<>
guidelines*string
logos*array<>
mission*string
name*string
photography*

How the brand's photos look: chips for lighting, mood, composition and colour treatment.

references*array<>
sourceUrl*|

The website it was made from, if any.

spacing*

Spacing and layout.

tone*string
values*array<string>
Example Request
curl -X PATCH 'https://api.remagica.com/api/v1/brand-kits/5b1f0c2e-8f0a-4c5b-9a3d-2e7b6c1d4f80' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "createdAt": "2026-10-21T12:00:00.000Z",  "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",  "ownerUserId": "ba132481-5b3d-4f60-8e2a-1d9c6b4f7e05",  "scope": "private",  "updatedAt": "2026-10-21T12:00:00.000Z",  "colors": [    {      "hex": "#ff8800",      "name": "Sunrise"    }  ],  "donts": [    "string"  ],  "dos": [    "string"  ],  "fonts": [    {      "family": "Inter",      "role": "display"    }  ],  "guidelines": "string",  "logos": [    {      "height": 1280,      "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",      "libraryItemId": "17c56002-5b3d-4f60-8e2a-1d9c6b4f7e05",      "width": 1024,      "contentType": "image/png",      "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"    }  ],  "mission": "string",  "name": "Autumn campaign",  "photography": {    "colorTreatment": [      "string"    ],    "composition": [      "string"    ],    "lighting": [      "string"    ],    "mood": [      "string"    ]  },  "references": [    {      "height": 1280,      "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",      "libraryItemId": "17c56002-5b3d-4f60-8e2a-1d9c6b4f7e05",      "width": 1024,      "contentType": "image/png",      "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"    }  ],  "sourceUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",  "spacing": {    "notes": "string",    "preset": "compact"  },  "tone": "string",  "values": [    "string"  ]}