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

# Add Dubbing Transcript Segment

`POST /v1/dubbing/project/{project_id}/transcript/segment`

Enterprise only. Add a new source segment to the transcript.

## Path parameters

- `project_id` string, required — Identifier of the dubbing project.

## 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

- DubbingSegmentCreateRequest — A new source segment; its id and word-level alignment are assigned by the server.
  - `text` string, required — The text of the new 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.

## Response `201`

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

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/versions/e77a0a530a82/schema)
