Skip to main content
POST
Upload brand image

Authorizations

Authorization
string
header
required

API key created in the organization settings.

Headers

Idempotency-Key
string

Unique key for the operation. Repeating the same key with the same body returns the original response instead of running it again.

Body

application/json
url
string<uri>

Public https image URL. Send url or data_base64, never both.

data_base64
string
Required string length: 1 - 7340032
operation_id
string

Optional unique id for this call, such as a UUID. Reuse the same value only to retry the same call: the retry returns the first result instead of creating again. The same value with a different body is rejected with 409.

Required string length: 8 - 128

Response

Image stored.

object
string
required
Allowed value: "brand_asset"
url
string<uri>
required
content_type
string
required
size
integer
required
Required range: 0 <= x <= 9007199254740991