Skip to main content
POST
Create a presigned upload

Authorizations

Authorization
string
header
required

An API key: ab_...

Body

application/json
filename
string
required
Required string length: 1 - 512
mime
string
required
Required string length: 1 - 255
size
integer
required
Required range: x <= 536870912

Response

An upload ticket

token
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
uploadUrl
string<uri>
required

PUT the bytes here, with the same Content-Type

expiresIn
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991