Skip to main content
GET
/
files
/
captions
/
{videoId}
Get captions files list
curl --request GET \
  --url https://api.poix.io/files/captions/{videoId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "languageCode": "<string>",
    "languageName": "<string>",
    "isAutoGenerated": true,
    "url": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

videoId
string
required

The YouTube video ID

Required string length: 11
Example:

"dQw4w9WgXcQ"

Query Parameters

format
enum<string>

The format of the response

Available options:
json,
text,
csv
Example:

"json"

lang
string

The language code for the captions

Required string length: 2
Example:

"en"

Response

Successful response

languageCode
string
required

The language code of the caption

languageName
string
required

The language name of the caption

isAutoGenerated
boolean
required

Whether the caption is auto-generated

url
string<uri>
required

The URL of the caption file