Asset
Upload an asset
POST
/
asset
/
request-upload
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
name
string
requiredThe 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
targetSegmentSizeSecs
number
How many seconds the duration of each output segment should be
Response
200 - application/json
url
string
requiredThe direct upload endpoint for which supports PUT requests. It is recommended to use the Tus endpoint for a better upload experience.
tusEndpoint
string
requiredThe Tus-compatible endpoint for resumable uploads. This is the recommended way to upload assets. See the Tus-js client for more information.
asset
object
requiredtask
object
requiredWas this page helpful?