Skip to Content
SeyloDocs

Upload a logo or favicon

POST
/api/v1/settings.uploadBrandAsset

Replaces one branding image. The file travels as a base64 data URL (PNG, SVG, WebP, JPEG or ICO, at most 512 KiB). SVGs are served with a sandboxing Content-Security-Policy.

Needs settings.manage, which owners and admins hold. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
kind*string|string|string
dataUrl*string
Match^data:image/(png|svg\+xml|webp|jpeg|x-icon|vnd\.microsoft\.icon);base64,[A-Za-z0-9+/=]+$
Lengthlength <= 700000

Response Body

Success.

application/json
  1. response
name*string

Shown in the sidebar, the browser tab and emails. Defaults to the product name.

Length1 <= length <= 40
logoLight*|null
logoDark*|null
favicon*|null
loginMessage*string
Lengthlength <= 280
hidePoweredBy*boolean
Example Request
curl -X POST 'https://example.com/api/v1/settings.uploadBrandAsset' \  -H 'Content-Type: application/json' \  -d '{  "kind": "logoLight",  "dataUrl": "string"}'
Example Response
{  "name": "string",  "logoLight": "string",  "logoDark": "string",  "favicon": "string",  "loginMessage": "string",  "hidePoweredBy": true}