Skip to main content
POST
Start a direct file upload (link valid 15 minutes)

Authorizations

Authorization
string
header
required

API key: sk_live_…

Body

application/json
kind
enum<string>
required
Available options:
audio,
image,
video,
document,
data
contentType
string
required
sizeBytes
integer
required

Response

PUT the exact bytes with these headers, then finish

fileId
string
required
uploadUrl
string
required
headers
object
required
expiresAt
string
required