---
title: "Dubs All Or Some Segments And Languages"
method: POST
path: "/v1/dubbing/resource/{dubbing_id}/dub"
tags: ["dubbing", "resource", "segment", "enterprise"]
deprecated: true
---

# Dubs All Or Some Segments And Languages

`POST /v1/dubbing/resource/{dubbing_id}/dub`

## Request

- Base URL: `https://api.elevenlabs.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elevenlabs.io/v1/dubbing/resource/{dubbing_id}/dub`
- Auth: none declared

> **Deprecated.**

Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations.

## Path parameters

- `dubbing_id` string, required: ID 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

- BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdDubPost
  - `segments` string[], required: Dub only this list of segments.
  - `languages` string[], nullable, required: Dub only these languages for each segment.

## Response `200`

Successful Response

- SegmentDubResponse
  - `version` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-06-08** `37fac3c5a2d7`: 1 info
  - endpoint deprecated
- **2026-02-08** `5b595807512c`: 1 info
  - api operation id `Dubs_all_or_some_segments_and_languages_v1_dubbing_resource__dubbing_id__dub_post` removed and replaced with `dub`
- **2025-05-16** `503db4198a44`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/dubbing/resource/:dubbing_id/dub/post.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.dev/elevenlabs/apis/elevenlabs-api-documentation/revisions/d04f5e77c40a?raw)
