---
title: "Update Dubbing Transcript Segment"
method: PATCH
path: "/v1/dubbing/project/{project_id}/transcript/segment/{segment_id}"
tags: ["Dubbing"]
---

# Update Dubbing Transcript Segment

`PATCH /v1/dubbing/project/{project_id}/transcript/segment/{segment_id}`

Enterprise only. Edit a source segment's text, speaker, or timing.

## Path parameters

- `project_id` string, required — Identifier of the dubbing project.
- `segment_id` string, required — Identifier of the segment to edit.

## Headers

- `xi-api-key` string, nullable — Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Request body

- DubbingSegmentUpdateRequest — A partial update to a source segment; omitted fields are left unchanged.
  - `text` string, nullable — New text for the segment.
  - `speaker_id` string, nullable — New speaker id for the segment.
  - `start_s` number, nullable — New start time, in seconds.
  - `end_s` number, nullable — New end time, in seconds.

## Response `200`

Successful Response

- DubbingSourceSegmentUpdateResponse — The result of a source-segment add or edit: the segment and the new revision.
  - `segment` DubbingTranscriptSegment, required — One segment of a source transcript.
    - `id` string, required — Stable identifier of the segment.
    - `text` string, required — The transcribed text of the segment.
    - `speaker_id` string, required — Identifier of the segment's speaker.
    - `start_s` number, required — Start time of the segment, in seconds.
    - `end_s` number, required — End time of the segment, in seconds.
    - `external_id` string, nullable — The caller-supplied external id for this segment, if one was provided.
  - `revision` integer, required — The project's source-transcript revision after this edit.

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-31** `72c54eba117e` — 1 info
  - added the optional property `segment/external_id` to the response with the `200` status

[Change history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/dubbing/project/:project_id/transcript/segment/:segment_id/patch.md)

---

[API](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/revisions/331c41dbba6d/schema)
