Skip to main content
GET
/
video
/
{id}
/
captions
/
{srclang}
cURL
curl --request GET \
  --url https://api.pnplayer.com/v1/api/video/{id}/captions/{srclang} \
  --header 'Authorization: Bearer <token>'
"<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

ID of the video

srclang
string
required

Source language of the captions

Response

Captions file in text/plain format

The captions file content