POST
/
asset
/
request-upload

Authorizations

Authorization
string
headerrequired

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.

staticMp4
boolean

Whether to generate MP4s for the asset.

playbackPolicy
object | null

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

creatorId
storage
object
encryption
object
c2pa
boolean

Decides if the output video should include C2PA signature

profiles
object[] | null

Requested profiles for the asset to be transcoded into. Configured on the upload APIs payload or through the stream.recordingSpec field for recordings. If not specified, default profiles are derived based on the source input. If this is a recording, the source will not be present in this list but will be available for playback.

targetSegmentSizeSecs
number

How many seconds the duration of each output segment should be

Response

200 - application/json
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.

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.

asset
object
required
task
object
required