Skip to navigation

API key scopes

A key’s scopes are set when you create it. You can edit them later in Studio.

Video API endpoints (api.synthesia.io/v2) need a key with the legacy scope, shown in Studio as Legacy (v2); a key without it gets a 403 from the Video API.

Endpoints under developers.synthesia.io/api need the scopes below. Each one names its scope on its reference page; a key without it gets a 403 insufficient_scope error. legacy doesn’t satisfy any of them.

Under developers.synthesia.io/api, an API key belongs to one workspace. A resource that belongs to another workspace is treated as missing: 404 not_found when its id is in the URL, 404 unknown_reference when it’s in the request body. To work in another workspace, use a key created for it.

A :write scope also satisfies the same resource’s :read scope.

ScopeIn StudioGrantsRequired by
interactive_avatars:writeInteractive Avatars (write)Create, update and delete interactive avatar sessions, avatars, agents and knowledge bases in the workspace. Includes interactive_avatars:read.POST /api/interactive-avatars/sessions, POST /api/interactive-avatars/avatars
localization:readLocalization (read)Read video translations and dubs in the workspace.GET /api/localizations/languages, GET /api/localizations/{localization_id}, GET /api/localizations/{localization_id}/locales
localization:writeLocalization (write)Create, update and delete video translations and dubs in the workspace. Includes localization:read.POST /api/localizations/from-media-url, PUT /api/localizations/{localization_id}/locales

These endpoints need no scope with an API key: GET /api/billing/credits.