Skip to main content
POST
Create track

Authorizations

Authorization
string
header
required

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

Path Parameters

video_id
string
required

ID of the video

Example:

"abcde12345abcde12345a"

Body

application/json
label
string

Their language as a string

Required string length: 1 - 20
Example:

"English"

language
enum<string>

Their language as a code

Available options:
af-ZA,
ar-AE,
ar-SA,
cy-GB,
da-DK,
de-CH,
de-DE,
en-AU,
en-GB,
en-IE,
en-IN,
en-US,
es-ES,
es-US,
fa-IR,
fr-CA,
fr-FR,
ga-IE,
gd-GB,
he-IL,
hi-IN,
id-ID,
it-IT,
ja-JP,
ko-KR,
ms-MY,
nl-NL,
pt-BR,
pt-PT,
ru-RU,
ta-IN,
te-IN,
tr-TR,
zh-CN
Example:

"en-US"

kind
enum<string>

Their type

Available options:
subtitles
Example:

"subtitles"

url
string<uri>

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

Maximum string length: 200
auto_generated
boolean

Generate using AI

Example:

false

Response

Track

success
boolean
required
Example:

true

result
object
required
Example:
errors
object[]
required
Example: