Skip to main content
PUT

Authorizations

X-API-Key
string
header
required

Path Parameters

projectId
string<uuid>
required

Project ID

recordingId
string<uuid>
required

Recording ID

Body

application/json
language
string
required

BCP-47 language code of the track to write

subtitles
object[]
required

Full segment list for the target language track. The endpoint performs a bulk replace, so the array must contain every segment in the final state, not just the edited ones. Every segment must include a non-empty words array; omitting a segment deletes it, and an empty words array drops the segment on the next read.

source
boolean
default:false

True when writing the source (transcript) track

dubbing
boolean
default:false

True when writing a dubbing track

bgVolume
number

Dubbing background-audio volume (only honored for dubbing tracks)

speakerVolumes
object

Per-speaker volume overrides (dubbing only)

speakerVoiceSettings
object

Per-speaker TTS voice settings (dubbing only)

segmentsToRedub
string[]

Segment ids that should be re-synthesized after this update

enqueueTtsUpdate
boolean
default:true

When true (default), the dubbing segments listed in segmentsToRedub are queued for TTS regeneration from their words. Set to false to save edits without re-synthesis (for example, text-only fixes) — you must still send the full words array for every segment.

Response

Subtitles updated successfully