branding

Replace the branding of the caller's shared session pages [write]

Changed on

Only the person's own sign-in or a personal key that is not fixed to one workspace may call this; a workspace key, an app acting for the person, a task pass, a key limited to one job and a key fixed to one workspace are refused with 403 restricted_token. Replaces every field: a field left out, null or empty is cleared. Send JSON, or multipart/form-data with the same fields plus a logo part (PNG, JPEG or WebP, up to 512 KB) to upload a new logo. To keep the current logo, send its logo_url back.

put/branding

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/branding
  • Auth
    HTTP bearer

Request body

brand_namestring nullable

Shown in place of AgentSky on the shared pages.

logo_urlstring nullable

The logo already in use, to keep it. A new logo is uploaded as the logo part of a multipart request, never by address.

brand_colorstring nullable

Header color.

accent_colorstring nullable

Buttons and links; text on it is chosen for contrast.

Response

OK

Changes