Skip to main content
POST
Init logo upload: returns a presigned PUT url + candidate

Authorizations

Authorization
string
header
required

Issue keys in Settings → API. Send them as Authorization: Bearer ont_… (an X-Api-Key: ont_… header is also accepted). Session-cookie routes are used by the OnTime web apps and are shown for completeness.

Body

application/json
mimeType
enum<string>
required
Available options:
image/png,
image/jpeg,
image/svg+xml,
image/webp
sizeBytes
integer
required
Required range: x <= 2097152

Response

200 - application/json

Success

uploadUrl
string
required
storageKey
string
required