Skip to main content
POST
Prepare an upload

Authorizations

Authorization
string
header
required

Authorization: Bearer

Body

application/json
content_type
enum<string>
required

Content type.

Available options:
image/jpeg,
image/png,
image/webp
content_length
integer
required

Content length.

Required range: 1 <= x <= 0

Response

Successful.

method
string
required

The HTTP method for upload (PUT).

Allowed value: "PUT"
url
string
required

Address.

headers
object
required

The headers to be sent exactly like this on upload.

key
string
required

The key of the uploaded file, to be sent later in photos[].key.