Skip to main content
POST
Start an upload

Authorizations

Authorization
string
header
required

Your organization's API key, from Settings → API. Authorization: Bearer crl_sk_live_…

Body

application/json
content_type
string
required

e.g. image/png, video/mp4, audio/mpeg.

size_bytes
number
required
filename
string
ext
string

Overrides the extension derived from filename.

account_id
string<uuid>

Response

The presigned upload.

object
enum<string>
Available options:
upload
asset_id
string<uuid>
upload_url
string<uri>
method
enum<string>
Available options:
PUT
headers
object
expires_in
number

Seconds.

complete_url
string