POST
/
asset
/
request-upload

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the asset. This is not necessarily the filename - it can be a custom name or title.

c2pa
boolean

Decides if the output video should include C2PA signature

creatorId
encryption
object
playbackPolicy
object | null

Whether the playback policy for an asset or stream is public or signed

profiles
object[] | null
staticMp4
boolean

Whether to generate MP4s for the asset.

storage
object
targetSegmentSizeSecs
number

How many seconds the duration of each output segment should be

Response

200 - application/json
asset
object
required
task
object
required
tusEndpoint
string
required

The Tus-compatible endpoint for resumable uploads. This is the recommended way to upload assets. See the Tus-js client for more information.

url
string
required

The direct upload endpoint for which supports PUT requests. It is recommended to use the Tus endpoint for a better upload experience.