Skip to main content
PUT
Create image upload URL

Authorizations

Authorization
string
header
required

API key or session token (Bearer)

Path Parameters

id
string
required

Body

application/json
filename
string
required
contentType
string
required
size
number
required
surface
enum<string>
required

Where the image is used, which decides how it is scoped.

Available options:
description,
comment

Response

The presigned upload

key
string
required

Object key to send back to the finalize route.

uploadUrl
string
required

Presigned URL to PUT the image bytes to.

headers
object
required

Headers that must accompany the upload request, including Content-Type.