---
title: "Create A Segment For The Speaker"
method: POST
path: "/v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment"
tags: ["dubbing", "dubbing", "resource", "segment", "enterprise"]
deprecated: true
---

# Create A Segment For The Speaker

`POST /v1/dubbing/resource/{dubbing_id}/speaker/{speaker_id}/segment`

> **Deprecated.**

Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio.

## Path parameters

- `dubbing_id` string, required — ID of the dubbing project.
- `speaker_id` string, required — ID of the speaker.

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

- SegmentCreatePayload
  - `start_time` number, required
  - `end_time` number, required
  - `text` string, nullable
  - `translations` object, nullable

## Response `201`

Successful Response

- SegmentCreateResponse
  - `version` integer, required
  - `new_segment` string, required

## 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/revisions/e77a0a530a82/schema)
