POST
/
videos
/
{VIDEO_ID}
/
tracks

Authorizations

Authorization
string
headerrequired

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

Path Parameters

VIDEO_ID
string
required

ID of the video

Body

application/json
label
string

Their language as a string

Required string length: 1 - 20
language
enum<string>

Their language as a code

Available options:
de-DE,
en-AU,
en-GB,
en-US,
es-ES,
fr-FR,
it-IT
kind
enum<string>

Their type

Available options:
subtitles
url
string

The URL of a WebVTT .vtt file we can fetch the subtitles from

Maximum length: 200
auto_generated
boolean

Generate using AI

Response

200 - application/json
success
boolean
required
result
object
required
errors
object[]
required