Skip to main content
POST
Start an upload

Authorizations

Authorization
string
header
required

Supabase access token: Authorization: Bearer <token>

Body

application/json
mimeType
string
required
Required string length: 1 - 255
sizeBytes
integer
Required range: 1 <= x <= 9007199254740991
width
integer
Required range: 1 <= x <= 9007199254740991
height
integer
Required range: 1 <= x <= 9007199254740991
durationMs
integer
Required range: 0 <= x <= 9007199254740991
fileName
string
Maximum string length: 255

Response

The media row and where to put the bytes

media
object
required
upload
object
required