/api/v1/* — the same endpoints the SDKs call under the hood. Each token is scoped to a single org, so you can issue separate tokens for production, staging, CI, or a teammate without giving up org-wide control.
When to create a token
Create a token any time you need to:- Run the quickstart or any of the SDKs from a new environment.
- Wire ingestion into a backend service, worker, or CI job.
- Hand a scoped credential to a teammate or third-party tool.
Create your first token
The first time you sign in to an org that has no tokens and no ingested media, the dashboard opens a Welcome modal that walks you through three steps:1
Create token
Click Create token. A token labeled
default is minted and revealed in the modal.2
Install the SDK
Copy the
pnpm add @sf-voice/media snippet and run it in your project.3
Ingest your first call
Copy the starter snippet, paste your token into
SF_VOICE_TOKEN, and run it.Manage tokens from settings
Open Settings → API tokens to create more tokens or revoke existing ones at any time.Create a token
- Enter a descriptive label (for example,
production,ci, oranalytics-worker). - Click Create token.
- Copy the full token from the reveal modal and store it securely. Click I’ve saved it to dismiss the modal.
sk_live_a1b2c3d4…), the creation date, and the last-used date.
Revoke a token
Click Revoke next to any token to invalidate it immediately. In-flight requests using that token start returningunauthorized right away. Revoking is permanent — create a new token if you need to rotate.
Expired tokens
Tokens with a past expiration date are marked Expired and stop authenticating requests. They remain in the list for audit until you revoke them.Use a token
Set the token as an environment variable and pass it to the SDK client. Never commit tokens to source control.X-API-Key header:
unauthorized error code. See the SDK overview for the full error table.
Best practices
- One token per environment. Separate production from staging and CI so you can rotate one without breaking the others.
- Label tokens clearly. Labels are the only way to tell tokens apart once the prefix is all that’s visible.
- Rotate on personnel changes. Revoke and re-issue tokens when a teammate leaves or a machine is decommissioned.
- Store in a secrets manager. Treat tokens like passwords — never log them, commit them, or paste them into shared chat.

