Skip to main content
PATCH

Authorizations

Authorization
string
header
required

An API token from Settings → API in the Dubly web app, sent as Authorization: Bearer <token>.

Path Parameters

id
string<uuid>
required

The dub ID (path parameter). The dub must have finished processing (status "Dubbed"); otherwise the request returns 400.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Body

application/json
target_language
enum<string>
required

BCP 47 code of the language whose segments are corrected. A language the dub does not have returns 404.

Available options:
af,
ar,
hy,
as,
az,
be,
bn,
bs,
bg,
ca,
ceb,
ny,
zh,
hr,
cs,
da,
nl,
en,
et,
fil,
fi,
fr,
gl,
ka,
de,
el,
gu,
ha,
he,
hi,
hu,
is,
id,
ga,
it,
ja,
jv,
kn,
kk,
ko,
ky,
lv,
ln,
lt,
lb,
mk,
ms,
ml,
mr,
ne,
no,
ps,
fa,
pl,
pt,
pa,
ro,
ru,
sr,
sd,
sk,
sl,
so,
es,
sw,
sv,
ta,
te,
th,
tr,
uk,
ur,
vi,
cy,
en-GB,
en-US,
es-419,
es-ES
segments
object[]
required

1–500 entries { id, source_text?, target_text?, speaker? }; each id at most once. Fields left out stay as they are. Split larger corrections into several requests.

Required array length: 1 - 500 elements
also_retranslate_languages
enum<string>[]

Engine v1: other languages of the dub into which every segment whose source_text changed is re-translated and re-voiced as well (the editor's "Apply to languages"). Must not contain target_language; muted segments there stay muted. A language the dub does not have returns 400. Each segment re-translated there costs one of its API edits. Engine v2: 400 — the update carries source corrections over to every language by itself.

Available options:
af,
ar,
hy,
as,
az,
be,
bn,
bs,
bg,
ca,
ceb,
ny,
zh,
hr,
cs,
da,
nl,
en,
et,
fil,
fi,
fr,
gl,
ka,
de,
el,
gu,
ha,
he,
hi,
hu,
is,
id,
ga,
it,
ja,
jv,
kn,
kk,
ko,
ky,
lv,
ln,
lt,
lb,
mk,
ms,
ml,
mr,
ne,
no,
ps,
fa,
pl,
pt,
pa,
ro,
ru,
sr,
sd,
sk,
sl,
so,
es,
sw,
sv,
ta,
te,
th,
tr,
uk,
ur,
vi,
cy,
en-GB,
en-US,
es-419,
es-ES

Response

What happened to each entry, in the order of the request.

status
string
required
Allowed value: "success"
response
object
required