X-API-Key header:
flv_. The server only stores a hash, so the full key is shown once - when you
create it.
Create a key
1
Open the dashboard
Sign in to the Finesse dashboard and go to Developers → API Keys.
2
3
Store it safely
Keep it in a secret manager or an environment variable (
FINESSE_API_KEY). If you lose it, rotate it
or revoke it and create a new one.Who can manage keys
Only workspace owners and admins can create, rotate or revoke keys. Members can see the workspace’s keys (name, prefix, scopes, expiry, last use) but not change them; the API answers them with403.
When a member is removed from a workspace, the keys they created are revoked and the workspace’s
admins are notified by email.
What a key can access
A key is bound to one workspace. Referencing a voice or job from another workspace returns404.
Within that workspace, what the key can do is set by its scopes.
- List and read the voices in that workspace, plus the public platform voices.
- Synthesize speech with any
readyvoice it can read (speak, stream, WebSocket). - Create, clone, update and delete the workspace’s own voices (clone, create).
404.
Scopes
Give each key only the scopes it needs - a server that only plays audio needstts, nothing else.
Calling an endpoint without its scope returns
403 with code insufficient_scope; the message names
the missing scope. Keys created before scopes existed keep full access (all four).
Expiry and rotation
A key can expire after 30, 90 or 365 days, or never. Once it expires, requests return401 with code
key_expired and the dashboard marks it Expired.
To replace a key without downtime, rotate it from Developers → API Keys. Rotation creates a new key
with the same name (suffixed “(rotated)”), scopes and expiry policy, shows its secret once, and keeps
the old key working for a grace period you choose: immediately, 24 hours (default) or
7 days. Deploy the new key, then let the old one lapse. Revoked and expired keys can’t be rotated.
Revoking a key stops it immediately, along with any access tokens minted from it.
Browser access with short-lived tokens
Browsers can’t keep a secret, so they should never hold your API key. Instead:1
Your server mints a token
Your backend calls
POST /tokens with the API key (scope tts). Tokens
live for 5 minutes by default (up to an hour) and can be limited to specific voice_ids.2
The browser receives only the token
Return the
fin_tok_… token to your signed-in user’s browser.tts only, and stop working when the key that minted them is revoked
or expires. See Create an access token for code.
Server-side WebSocket clients don’t need tokens: send the key as an
X-API-Key header on the
handshake, the same as on HTTP. The older ?api_key= query parameter still works but is
deprecated; responses carry a Deprecation header. Use the header from servers and tokens from
browsers.Authentication errors
See Errors & responses for the full list.

