Upload a logo or image
Authorization
ApiKeyAuth API key from Settings → API Keys.
In: header
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/brand_kit/images" \ -H "Content-Type: application/json" \ -d '{ "filename": "string", "content_base64": "string" }'{ "id": "cm4bki7f10001js04ha2p8w4n", "filename": "logo.png", "type": "logo", "content_type": "image/png", "key": "brand-kits/cm4bk8e20001js04xq2v9k3m/cm4bki7f10001js04ha2p8w4n/logo.png", "url": "https://files.automette.com/brand-kits/cm4bk8e20001js04xq2v9k3m/cm4bki7f10001js04ha2p8w4n/logo.png", "self": "https://automette.com/api/v1/brand_kit/images/cm4bki7f10001js04ha2p8w4n"}Set the brand palette PATCH
Set the team's colours, or rename the kit. `colors` replaces the whole list — a palette is small, ordered, and read as a set, and you already hold the current one from `GET`. Send `[]` to clear it. Edits the default kit — the one `GET` reports at the top level. Other kits are renamed from the Brand Kit page in the dashboard. Files are not edited here. Fonts and images are uploads, and have their own endpoints.
Delete a brand image DELETE
Removes the image from the kit and deletes the file. Templates whose `src` still names its key will fail to render, so delete only what nothing references.