domains

Upload Domain Branding Logo

Upload a logo image (PNG/SVG/JPEG/WebP/GIF) for the hosted docs pages.

The bytes land in the generated-pages R2 bucket under this domain's page/{domain_id}/assets/ prefix, so the edge worker serves them on the customer's own docs host at /assets/<filename>; branding.logo_url is pointed at that URL and the hosted pages are republished. The filename embeds a content hash, so the worker's immutable cache header is safe and replacing the logo never fights a stale cache.

post/api/domains/{domain_id}/branding/logo

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Path parameters

domain_idstring required

Headers

x-view-asstring nullable

Request body multipart/form-data

filestring binary required

Response

Successful Response

idstring required
domain_idstring required
site_titlestring nullable
logo_urlstring nullable
logo_sourcestring nullable
favicon_urlstring nullable
brand_colorstring nullable
accent_colorstring nullable
text_colorstring nullable
link_colorstring nullable
background_colorstring nullable
button_colorstring nullable
body_fontstring nullable
heading_fontstring nullable
cta_textstring nullable
cta_urlstring nullable
main_site_urlstring nullable
main_site_textstring nullable
meta_title_suffixstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.