curl --request GET \
--url https://app.dubly.ai/api/v1/dubs/{id}/lipsync/segments \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.dubly.ai/api/v1/dubs/{id}/lipsync/segments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.dubly.ai/api/v1/dubs/{id}/lipsync/segments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)List the lip-sync blocks of one language
Returns the lip-sync blocks of one target language of a completed dub — the lip-sync track of the web app’s visual editor — in track order, each with its id (what PATCH /api/v1/dubs//lipsync/segments takes), start and end in seconds and enabled (true: the block shows the lip-synced video; false: it shows the original video). On the language level it returns api_lipsync_applies_remaining, the API lip-sync applies this language has left.
The blocks exist only for a finished lip sync: while the lip sync of the language is not “done” — never started, running, being re-assembled (“reconstructing”) or failed — the request returns 409. Engine v1 only (capability supportsTimelineEditor): on any other engine the request returns 400. A dub that has not finished processing returns 400; an unknown dub, a dub of another account and a target_language the dub does not have return 404.
Read-only: nothing is counted, no credits are charged and there is no limit.
curl --request GET \
--url https://app.dubly.ai/api/v1/dubs/{id}/lipsync/segments \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.dubly.ai/api/v1/dubs/{id}/lipsync/segments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.dubly.ai/api/v1/dubs/{id}/lipsync/segments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
Path Parameters
Query Parameters
BCP 47 target language code of the language to read (query parameter, e.g. ?target_language=de). A language the dub does not have returns 404.
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 
