API reference · Account
Keep a logo
PUT/api/studio/brand-kit/logoSigned in session
A PNG, JPEG or WebP picture as the body, its type the Content-Type, at most 262144 bytes, checked by its first bytes. SVG is refused.
Request body
image/png, required
The document names no fields for this body.
Answer 200
The kit with its logo.
| Field | Type | What it is |
|---|---|---|
| object | string | One of "studio.brand_kit". |
| kit | object | |
| kit. | string | At most 60 characters. |
| kit. | object | |
| kit. | string | |
| kit. | string | |
| kit. | string | |
| kit. | string | One of "display", "body", "serif", "mono", "rounded". |
| kit. | string | One of "top-start", "top-end", "bottom-start", "bottom-end". |
| kit. | number | The logo's width against the frame's shorter side. From 0.08 to 0.3. |
| kit. | object | |
| kit. | boolean | |
| kit. | string | At most 80 characters. |
| kit. | number | One of 2, 3, 4, 5. |
| kit. | boolean | Put on every export unless switched off for one. |
| saved | boolean | False: the house's start, nothing kept yet. |
| logo | string or null | The logo's address, versioned by its bytes. |
| updated_at | integer or null |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 413OpenAI shaped error.
- 415OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.