Create Captions

Adds captions to a specified media by providing an SRT file or its contents directly.

Requires api token with one of the following permissions

Read, update & delete anything
Path Params
string
required

The hashed ID of the media for which captions are to be added.

Body Params
string
required

Either an attached SRT file or a string parameter with the contents of an SRT file.

string

An optional parameter that denotes which language this file represents. Should conform to ISO-639–2. If left unspecified, the language code will be detected automatically.

Headers
string
required
Defaults to 2026-03
Responses
200

Captions added successfully

400

Captions already exist for this video

404

Video not found

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json