Skip to main content
PUT
/
libraries
/
{libraryId}
/
videos
/
{videoId}
/
subtitles
/
{subtitleId}
{
  "id": "5c24d2b3-8c17-4d58-b96e-18b7cb9e2a41",
  "video_id": "c36f981d-9b53-4f45-9b4f-3d03a94e2a63",
  "title": "English Subtitle",
  "language": "en",
  "path": "en.vtt",
  "created_at": "2025-11-10T12:40:00Z",
  "updated_at": "2025-11-10T12:45:00Z",
  "deleted_at": null
}

Authorizations

Authorization
string
header
required

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

Path Parameters

libraryId
string
required

Unique identifier of the library.

videoId
string
required

Unique identifier of the targeted video resource.

subtitleId
string
required

Unique identifier of the subtitle.

Body

multipart/form-data
title
string

The display name of the subtitle file (e.g., English).

Example:

"English"

language
string

Language code of the subtitle (e.g., en, es, fr).

Example:

"en"

file
file

The actual subtitle file to upload, usually in .srt or .vtt format.

Example:

"file:///home/rob/Downloads/avatar.(2009).bur.1cd.(10182616)/english.srt"

Response

id
string
required
video_id
string
required
title
string
required
language
string
required
path
string
required
created_at
string
required
updated_at
string
required
deleted_at
string
required