Skip to main content
1

Create an API token

In the Dubly web app, open Settings → API and click Generate new token. Give it a name and copy it right away — you won’t be able to see it again.Every request sends the token in the Authorization header. See Authentication.
2

Create a dub

Start a dub with POST /api/v1/dubs/youtube: send the YouTube link, the language of the video and the languages to dub it into.
The answer carries the ID of the new dub:
Response
The dub runs in the background. Keep its id.
3

Check its status

Ask GET /api/v1/dubs/{id} for the dub’s status:
The status is Processing until the dub is finished. Call the endpoint again until it is Dubbed — or Error if the dub failed. Dub status lifecycle explains every status.
4

Download the result

Once the status is Dubbed, url holds one link to the final video per target language. Download the files — the links are valid for 7 days, so don’t store them; call the status endpoint again for fresh ones.For the other files of a language — the audio tracks, the lip-sync or the subtitled video — use the downloads endpoint; its links are valid for 1 hour. See Dub status lifecycle.

Next steps

Errors

What a failed request answers.

Edit limits

Correct segments and re-render a dub through the API.