Skip to main content
POST
Mint a presigned upload URL

Authorizations

Authorization
string
header
required

Opaque API key (sk_live_... / sk_test_...)

Body

application/json
contentType
enum<string>
required

Must be one of the supported types. An unsupported type is rejected rather than stored, because the file extension is derived from it and an unknown extension makes the publish pipeline misclassify a video as an image.

Available options:
image/jpeg,
image/png,
image/gif,
image/webp,
video/mp4,
video/quicktime,
video/webm
fileSize
integer
required

Bytes. Images are limited to 50MB, video to 2GB. The value is signed into the presigned URL, so a larger upload than declared is rejected by storage.

Response

Upload URL

success
any
required
data
object
required
meta
object
required