Upload a company logo

Needs permission organisation:write.

Answers a short-lived signed upload link: PUT the file's bytes, as the whole body, to url with every one of headers, before expiresDate. The server chose the storage key, the content type and the size limit. Then poll the status route with uploadId until it is Ready (use its assetId) or Rejected (show its message). Logos and icons: SVG, or PNG as a fallback (an icon must be square; a small PNG is scaled up where it is drawn larger), up to 1 MB. Fonts: WOFF2 up to 500 KB. Files are checked by their content, never their name; SVGs are cleaned of scripts and links to other files. An account can be given 200 upload links a day, counted by UTC day (429 upload_limit_reached). Only kind: CompanyLogo is accepted here. 409 organisation_has_no_account when the organisation is not linked to an account yet.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

Asks for somewhere to upload one brand file.

string | null
enum

Required. A company logo is uploaded through the organisation's own route.

Allowed:
string | null

image/svg+xml, image/png or font/woff2; checked again against the file's content.

int64 | null

The file's exact size: an oversized file is refused before it is sent, and the upload accepts only this many bytes.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json