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

# Dubs All Or Some Segments And Languages

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

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

---

[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/7508b542a4bd/schema)
