Skip to main content
PATCH
Switch lip sync on or off per block

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 lip-sync blocks are switched. 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
blocks
object[]
required

At least one entry { id, enabled }; each id at most once (otherwise 400). Blocks left out stay as they are.

Response

Every block already as requested: nothing re-assembled, nothing counted.

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