Skip to main content

Create a subtitle track from an uploaded WebVTT file

POST 

/api/v1/library/media/:id/subtitles

Parses a confirmed SUBTITLE asset of the media into a track. The new track becomes the active one of its language, with the next version number. Upload the file first: POST /api/v1/library/media/{id}/assets with mimeType text/vtt, PUT the file, then POST /api/v1/library/assets/{id}/confirm.

Request​

Responses​

The created track.