Skip to main content
All API requests must include a Bearer token in the Authorization header:
A request without a token, or with an unknown or revoked one, is refused with UNAUTHORIZED — see Errors.

Create a token

1

Open the API settings

Sign in to the Dubly web app and open Settings → API.
2

Generate a token

Click Generate new token and give it a name that tells you where it is used, e.g. Production or CI/CD.
3

Copy it now

Copy the token right away and store it somewhere safe. You won’t be able to see it again.
A token gives access to the dubs, projects and custom voices of your account. Keep it secret: out of client-side code and out of version control. Settings → API lists your tokens with when they were created and last used. Revoke a token you no longer need — any application using it loses access.

Base URL

Try your token

A valid token answers with the projects of your account — see GET /api/v1/projects. In the API Reference tab, paste the token into the Bearer field of the playground to send requests right from the docs.