v1

latestOpenAPI 3.0.22026-07-24296786.1 KB
Assets

Create media asset

Creates a media asset with support for multipart or direct url upload. This endpoint currently supports only the dubbing configuration.

post/v2/assets

Request body

contentType'video/mp4' | 'video/webm' | 'video/quicktime' required

The content type of the asset to upload. Must be one of: video/mp4, video/webm, or video/quicktime.

contentLengthinteger nullable

The length of the file content to upload. This is used to verify the integrity of the asset during upload.

contentMD5string nullable

The MD5 hash of the file content to upload. This is used to verify the integrity of the asset during upload.

titlestring

The title of the asset to upload.

Example request

{
  "contentType": "video/mp4",
  "title": "Untitled"
}

Response

Created. Returns upload credentials for the multipart upload.

idstring required
uploadUrlstring nullable