curl --request POST \
--url https://api.vidbeo.com/v2/videos/{VIDEO_ID}/tracks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"label": "English",
"language": "en-US",
"kind": "subtitles",
"url": "<string>",
"auto_generated": false
}'
{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"language": "en-US",
"label": "English",
"kind": "subtitles",
"url": "<string>"
},
"links": {},
"errors": []
}
Create a new track
curl --request POST \
--url https://api.vidbeo.com/v2/videos/{VIDEO_ID}/tracks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"label": "English",
"language": "en-US",
"kind": "subtitles",
"url": "<string>",
"auto_generated": false
}'
{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"language": "en-US",
"label": "English",
"kind": "subtitles",
"url": "<string>"
},
"links": {},
"errors": []
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the video
"abcde12345abcde12345a"
Track
The response is of type object
.