# VocalStack API > VocalStack is a speech API: realtime and file transcription with speaker labels, live translation into many languages, spoken translations (text to speech), and hosted broadcasts that listeners join by link. One API, `/v1`: realtime sessions (stateless, streamed over a WebSocket), transcriptions, broadcasts, recordings and voices, with transcripts and translations streamed to subscribers. ## Guides One flow per guide, steps first, then complete programs (TypeScript SDK, Python SDK, PHP SDK, HTTP + WebSocket): - [Quickstart](https://api.vocalstack.com/docs/guides/quickstart.md): An API key, the SDK, and your first transcript in a dozen lines. - [Transcribe a file](https://api.vocalstack.com/docs/guides/transcribe-a-file.md): Upload a file, wait for its job, read the transcript and export it. Asynchronous; nothing to keep open. - [Transcribe a link](https://api.vocalstack.com/docs/guides/transcribe-a-link.md): The server fetches a public URL, a YouTube video or a recording on a video or audio site, then transcribes it like a file. Asynchronous, with a fetch phase first. - [Search your transcriptions](https://api.vocalstack.com/docs/guides/search-transcriptions.md): Find transcriptions by words in their name or link, site, language, kind, tag and date, keep the shared ones, and play each with its share code. - [Stream a microphone](https://api.vocalstack.com/docs/guides/stream-a-microphone.md): Live audio in, transcript events out, over one WebSocket. Drafts replace the live tail; commits append. - [Stream a file at full speed](https://api.vocalstack.com/docs/guides/stream-a-file.md): Send a file's bytes through a realtime session and read the transcript as fast as the server makes it. Nothing is stored. - [Go live](https://api.vocalstack.com/docs/guides/go-live.md): Publish live audio to a stored transcription, and put it on a broadcast link listeners open. Control is HTTP; audio is one WebSocket. - [Listen](https://api.vocalstack.com/docs/guides/listen.md): Follow a recording as it happens, in any language: subscribe, catch up from a snapshot, then apply live frames in order. - [Live translation and spoken translations](https://api.vocalstack.com/docs/guides/translation-and-voices.md): Translate a stream as it is spoken, and have each translated sentence spoken back in a voice. Text frames and audio clips, over the same socket. - [Connect an app with one click](https://api.vocalstack.com/docs/guides/connect-an-app.md): Let the people who use your app connect their VocalStack account with one Authenticate click — OAuth 2.0 authorization code with PKCE, where the access token is an API key — instead of pasting a key. - [Errors, retries and limits](https://api.vocalstack.com/docs/guides/errors-and-limits.md): One error envelope everywhere; what to retry (429, 503 unavailable) and how to make a retry safe (Idempotency-Key); credit, plan limits and the 402s. ## Docs - [API reference](https://api.vocalstack.com/docs): interactive reference, with a key box to try calls - [OpenAPI](https://api.vocalstack.com/v1/openapi.json): the whole API in one document (WebSocket frames under `x-websocket`) - [Every operation in detail](https://api.vocalstack.com/llms-full.txt): parameters, auth mode and scopes - MCP server: https://api.vocalstack.com/v1/mcp (Streamable HTTP; the same API keys, or OAuth through https://api.vocalstack.com/.well-known/oauth-protected-resource/v1/mcp) - SDKs: TypeScript (`@vocalstack/js-sdk`), Python (`vocalstack`) and PHP (Composer `vocalstack/sdk`); `npm install @vocalstack/js-sdk`, `pip install vocalstack`, `composer require vocalstack/sdk` ## Authentication - Send `Authorization: Bearer `. The token is an API key (`vs_key_…`) or a signed-in person's WorkOS access token. - API keys are for servers; create them in the VocalStack app. A key carries scopes: `read`, `write`, `recordings:publish`, or `*` for all. - Each operation lists its auth mode (`public`, `optional`, `user`, `key`, `userOrKey`, …) and the key scopes it needs, in the OpenAPI extensions `x-vocalstack-auth` and `x-vocalstack-scopes`. Every operation is open to every plan; a creation point is refused `402 insufficient_credit` when the account's credit is out or would not cover the plan's minimum per transcription (`rates.minimumSeconds` on `GET /v1/billing`). - OAuth protected-resource metadata (RFC 9728): https://api.vocalstack.com/.well-known/oauth-protected-resource ## billing - `GET /v1/billing`: Get the account's billing. The acting account's plan, rates (dollars an hour of audio, and the minimum a transcription is billed: `minimumSeconds`), credit balance, whether running transcriptions go on below zero (`belowZeroLimitOn`; `inBelowZero` while they do; never how far, and `belowZeroLimitChangesAt` when a limit held after a change stops), whether a new transcription would start now and what would refuse it (`canStart`, `startBlock` for a file; `canStartLive`, `startBlockLive` for a live transcription or realtime session, whose minimum costs more), the billing period and the one before, the monthly credit's use, the counted limits in use, the subscription (next payment, a scheduled interval switch, past due), auto top-up with its last attempt, the low-balance alert, a payment still being processed, the default card, a scheduled change with its refund deadline (`pendingChange`), a scheduled end or closure, the days data is kept after a downgrade (`downgradeKeepDays`, with any lowering told) and the auto top-up daily limit (`autoTopUp.autoTopupMaxPerDay`), the retention deadline after a downgrade, the plan's limits and whether it has paid. - `PUT /v1/billing/auto-top-up`: Set auto top-up. Turn auto top-up on (`threshold` and `amount`: any whole-cent values inside the plan list's `autoTopUp.thresholdRange` and `amountRange`; when the balance falls to the threshold, the amount is charged to the saved payment method, at most a few times a day) or off. - `POST /v1/billing/auto-top-up/retry`: Run auto top-up now. Charge the configured auto top-up amount to the saved payment method now, whatever the balance (after a declined attempt, once the card is fixed). - `GET /v1/billing/charges`: List the charges. The account's per-recording charges, newest first, with the transcription's name: open while the audio runs (metered every minute), settled once the recording ends, void when waived. - `POST /v1/billing/checkouts`: Open a checkout. Start a payment at the payment provider: `{kind: "topup", amount}` adds credit (any whole-cent amount inside the plan list's `topUpRange`), `{kind: "subscribe", planId, interval}` starts a subscription (`month` or `year`); `promoCode` adds a code's bonus credit to a top-up or its discount to a subscription's first payment (`404 promo_code_invalid` when it does not apply; a code counts against the promo check's hourly limit, `429 rate_limited`). - `GET /v1/billing/checkouts/{id}`: Get a checkout. A checkout's status, for the page the customer comes back to: by its `checkoutId` or the provider's id (`?checkout=` on the return URL). - `GET /v1/billing/details`: Get the invoice details. The name, email, address and tax id invoices and receipts carry. - `PUT /v1/billing/details`: Set the invoice details. Save the invoice details; they are written onto the provider's customer and prefill every checkout. - `GET /v1/billing/ledger`: List the ledger. The account's credit movements, newest first: signup credit, top-ups, monthly credit, charges, corrections, refunds. - `PUT /v1/billing/low-balance-alert`: Set the low-balance alert. Turn the low-balance email on or off and set its line (`threshold`, inside the plan list's `lowBalanceAlert.range`): one email each time the balance falls to it. - `GET /v1/billing/payment-methods`: List the payment methods. The cards saved at the payment provider: brand, last 4, expiry, wallet, which is the default, and whether the last automatic charge on it was declined. - `POST /v1/billing/payment-methods/manage`: Add or change a payment method. A link to the payment provider's portal, where a card is added, replaced or made the default (the provider has no API for those); it returns to the app's payment tab. - `DELETE /v1/billing/payment-methods/{id}`: Remove a payment method. Remove a saved card. - `GET /v1/billing/payments`: List the payments. The account's payments history, newest first: top-ups, auto top-ups and subscription payments (`paid`, `pending` while the provider processes one, `failed` for a declined charge or renewal), refunds (`refunded`) and credit never paid for (`credit`: the signup credit, a promo code's bonus, an adjustment). - `GET /v1/billing/payments/{id}/document`: Get a payment's invoice or receipt. A link to the payment's invoice (a subscription) or receipt (a top-up), valid for a short while. - `GET /v1/billing/plans`: List the plans. The visible plans with their current rates (with the minimum a transcription is billed), prices, included credit, whether running work goes on below zero when the credit runs out (`belowZeroLimitOn`, never how far), limits and features, plus the top-up presets and range, the auto top-up and low-balance alert choices and ranges, the auto top-up daily limit, the signup credit and the days data is kept after a downgrade (`downgradeKeepDays`). - `GET /v1/billing/portal`: Get the customer portal link. A link to the payment provider's customer portal (payment methods, invoices, receipts), valid for a short while. - `POST /v1/billing/promo-codes/check`: Check a promo code. What a code gives `for` a `topup` (a bonus credit) or a `subscribe` (a discount off the first payment), before the checkout. - `POST /v1/billing/subscription/cancel`: Cancel the subscription. Cancel at the end of the current period: nothing changes until then; after it the account moves to the default plan and unspent monthly credit is removed. - `POST /v1/billing/subscription/interval`: Switch the billing interval. From the next period the subscription renews `month`ly or `year`ly (nothing is charged now) at `subscription.switchPrices` for that interval, the price of the version its next renewal is on; that price is also kept as a ceiling on what it renews on until a price change announced with its own date applies. - `DELETE /v1/billing/subscription/interval`: Keep the billing interval. Take back a scheduled interval switch. - `POST /v1/billing/subscription/uncancel`: Keep the subscription. Take back a cancellation scheduled for the period end. - `POST /v1/billing/subscription/yearly-opt-in`: Switch to yearly to keep the subscription. When a plan change withdraws monthly billing, a monthly subscription is never moved onto a yearly charge by itself: it ends at the renewal the change applies at (`subscription.yearlyOptIn: true`, `cancelReason: "interval_withdrawn"`) unless the customer opts in to yearly here, even after that cancellation is set. - `GET /v1/billing/usage`: Get the usage report. What the account spent per day (in `tz`), per source (`dashboard` or the API key that made the transcription, deleted recordings included) and per kind (`file`, `live`): audio seconds and dollars, with running transcriptions at their current amount. - `GET /v1/billing/usage/charges`: List the usage report's charges. The charges behind the usage report, one by one, newest first: each file or link transcription, live recording and realtime session billed in the range (a running one at its current amount, `state: open`), with the transcription's name, its kind, its source (`dashboard` or the API key's id, as the report's `sources`), the seconds billed, the rate and the cost; money given back for a charge is a `correction` with a negative amount. ## broadcasts - `GET /v1/broadcasts`: List broadcasts. Broadcasts owned by the acting principal. - `POST /v1/broadcasts`: Create a broadcast. Create a broadcast: the link listeners open (`code`), which a host can change later (the old one keeps working). - `POST /v1/broadcasts/archive`: Archive broadcasts. Archive several broadcasts in one call (up to 500 `ids`), each as the one-broadcast call would. - `POST /v1/broadcasts/purge`: Purge broadcasts. Purge several broadcasts in one call (up to 500 `ids`), each as the one-broadcast call would. - `POST /v1/broadcasts/restore`: Restore broadcasts. Restore several broadcasts in one call (up to 500 `ids`), each as the one-broadcast call would. - `GET /v1/broadcasts/{id}`: Get a broadcast. One broadcast of the acting principal's, by id. - `PATCH /v1/broadcasts/{id}`: Update a broadcast. Rename, change access/password, change the link (`code`; the links it had keep opening it), or update default capture settings. - `POST /v1/broadcasts/{id}/archive`: Archive a broadcast. Archive the broadcast: hidden, its links dead, its data kept until it is restored or purged. - `POST /v1/broadcasts/{id}/audio-sources`: Add an audio source. Give a broadcast a stream it can record from — a YouTube live, an internet radio address (`audioSources`). - `DELETE /v1/broadcasts/{id}/audio-sources/{source}`: Remove an audio source. Take an audio source off a broadcast. - `GET /v1/broadcasts/{id}/audio-sources/{source}/check`: Check an audio source. Whether an audio source can be recorded right now: the server opens it as a recording would — a YouTube link resolved to its live stream, a radio address connected, a playlist followed, the first audio decoded — and says whether audio came back (`state`). - `POST /v1/broadcasts/{id}/purge`: Purge a broadcast. Delete an archived broadcast and everything in it, for good. - `GET /v1/broadcasts/{id}/recordings`: List a broadcast's recordings. The broadcast's recordings, newest first, a page at a time: follow `nextCursor` (absent on the last page) as `cursor`. - `POST /v1/broadcasts/{id}/recordings`: Start a recording. Start recording on the broadcast. - `POST /v1/broadcasts/{id}/restore`: Restore a broadcast. Bring an archived broadcast back. - `GET /v1/broadcasts/{id}/scripts`: List a broadcast's scripts. The broadcast's scripts, soonest first (those with no time last): the words each planned recording will follow. - `GET /v1/broadcasts/{id}/share-links`: List a broadcast's share links. Active share links of the broadcast. - `POST /v1/broadcasts/{id}/share-links`: Create a share link. A named link ("Who is it for?") to the read-only public page. ## connect - `POST /v1/connect/token`: Redeem a connect code. One-click Connect ([guide](/docs/guides/connect-an-app.md)): your server swaps the `code` the dashboard sent to your `redirect_uri` for an API key, with the PKCE `code_verifier` (OAuth 2.0 authorization code + PKCE; the access token is the key). ## corrections - `POST /v1/corrections/{id}/revert`: Revert a correction. Undo one correction. - `GET /v1/recordings/{id}/corrections`: List corrections. The corrections made to the recording's transcript, newest first, a page at a time: follow `nextCursor` (absent on the last page) as `cursor`. - `POST /v1/recordings/{id}/corrections`: Apply corrections. Apply a batch of word edits and line rewrites atomically; every target must be settled. - `POST /v1/recordings/{id}/retranscribe`: Retranscribe a line. Read one line's audio again with the language forced, and apply what the recognizer hears as a line rewrite. ## jobs - `GET /v1/recordings/{id}/job`: Get a job. The recording's transcription job: its state and progress (done/total segments, media seconds, pct). - `GET /v1/recordings/{id}/job/preview`: Get a job's preview media. A job waiting in `cropping`: the media for the trim step to draw the waveform from in the browser. - `POST /v1/recordings/{id}/job/retry`: Retry a job. Re-queue a failed job from its stored source. - `POST /v1/recordings/{id}/job/start`: Start a cropped job. Release a job waiting in `cropping` (created with `crop: true`): the window of the source to transcribe, in seconds — an omitted bound is the start or the end of the file — then the job is queued. ## languages - `GET /v1/languages`: List languages. Transcription, translation and voice lists with picker metadata. ## me - `GET /v1/me`: Get the current account. Who the credential is: the acting principal, the person (`userId`) or API key (`apiKeyId`) behind it, the principals it may act for, a key's scopes and its reach (`own`: only what the key created; `account`: everything on the account). ## meta - `GET /v1/clients/{client}`: Get an app's version policy. For VocalStack's own apps (`mac_app`: VocalStack for Mac): the newest build, with its download, size, SHA-256 and the release key's Ed25519 signature, and below which versions the app is deprecated or unsupported. - `GET /v1/health`: Check health. Liveness: 200 while this server is up. - `GET /v1/openapi.json`: Get the OpenAPI document. This API's OpenAPI document, with this host in `servers`. ## realtime - `GET /v1/realtime/capabilities`: Get realtime capabilities. What the realtime socket takes: supported languages, audio formats, and limits. - `POST /v1/realtime/sessions`: Create a realtime session. Create a realtime session: a signed, stateless token for one WebSocket (`streamUrl`). - `POST /v1/realtime/warm`: Keep an engine ready. Say that a person is using a screen that can start a live transcription (`canStart`), so the live transcription they start next is ready at once instead of waiting for an engine to load. ## recordings - `POST /v1/recordings/archive`: Archive recordings. Archive several recordings in one call (up to 500 `ids`), each as the one-recording call would. - `POST /v1/recordings/purge`: Purge recordings. Purge several recordings in one call (up to 500 `ids`), each as the one-recording call would. - `POST /v1/recordings/restore`: Restore recordings. Restore several recordings in one call (up to 500 `ids`), each as the one-recording call would. - `GET /v1/recordings/{id}`: Get a recording. One recording, by id: for its owner, or any listener who can reach its broadcast or transcription. - `POST /v1/recordings/{id}/archive`: Archive a recording. Archive the recording: hidden, its data kept. - `GET /v1/recordings/{id}/audio`: Download a recording's audio. 302 to a freshly signed URL. - `GET /v1/recordings/{id}/audio/clip`: Get an audio clip. A stretch of the audio as WAV (16-bit, 16 kHz, mono), available while the recording is still open — for replaying a line during live correction. - `GET /v1/recordings/{id}/events`: Get a recording's event log. The recording's durable event log in order, each frame stamped with the wall time it was written — replays the recording exactly as the host saw it. - `GET /v1/recordings/{id}/export`: Export a recording. A real file: JSON, SRT, XLSX (Excel workbook) or PDF, corrections included. - `GET /v1/recordings/{id}/media-token`: Get a media token. The owner's credential for this recording's media URLs: pass it as `media=` to `/audio`, `/audio/clip` and `/voice/{sentence}` in place of `access_token`. - `POST /v1/recordings/{id}/pause`: Pause a recording. Pause capture. - `POST /v1/recordings/{id}/publish-token`: Create a publish token. Re-attach a publisher (reconnect or another device; takeover=true demotes the current one). - `POST /v1/recordings/{id}/purge`: Purge a recording. Delete an archived recording for good. - `POST /v1/recordings/{id}/restore`: Restore a recording. Bring an archived recording back. - `POST /v1/recordings/{id}/resume`: Resume a recording. Resume a paused recording. - `PATCH /v1/recordings/{id}/settings`: Update recording settings. Mid-recording capture settings (mode, language, labels). - `POST /v1/recordings/{id}/stop`: Stop a recording. End capture; finalize runs asynchronously. - `POST /v1/recordings/{id}/summarize`: Request a summary. Ask for the recording's AI title and summary. - `GET /v1/recordings/{id}/summary`: Get a recording's summary. The title and summary as they stand — `ready` once there is a summary (the title is the recording's name when it was made without `title`), `pending` while the engine is still writing them, `not_requested` for a recording made without `summary` or shorter than a minute, `unavailable` on a server without a summariser. - `GET /v1/recordings/{id}/transcript`: Get a transcript. Snapshot up to lastSeq; the backfill for subscribers (after=cursor). - `GET /v1/recordings/{id}/translation`: Get a translation. Sentences of the transcript translated into `lang` (a translation target), by sentence id (`sentences`, comma separated): what a reader in another language pages through. - `GET /v1/recordings/{id}/voice`: Get a recording's voice tracks. What this recording can be heard speaking, one row per language: rendered tracks (`sealed`) and their jobs, and the per-sentence clips a live audience left behind (`clips`, with the sentence ids and the voice that spoke them). - `POST /v1/recordings/{id}/voice`: Render voice tracks. An 11th language besides the one spoken is 409 `language_limit_reached` (a recording has at most 10; one it already has, in any voice, is never refused). - `GET /v1/recordings/{id}/voice/{sentence}`: Get a spoken sentence. One spoken sentence, Ogg/Opus (`format=caf` for Apple's media stack). ## rtmp - `GET /v1/rtmp`: Get RTMP status. The account's RTMP server URL and stream key for an encoder, whether one is sending audio right now and what (`audio`, e.g. - `GET /v1/rtmp/keys`: List app stream keys. The account's app stream keys, oldest first: masked (`maskedStreamKey`), never in full, each with whether an encoder is sending on it now (`live`, `audio`). - `POST /v1/rtmp/keys`: Create an app stream key. A stream key of the app's own, so it can stream to the account without the account's key (`GET /v1/rtmp`), which an encoder may already be using. - `DELETE /v1/rtmp/keys/{id}`: Delete an app stream key. The key stops working: an encoder publishing on it is disconnected within seconds. ## search - `GET /v1/search`: Search transcripts. Sentence search via the English pivot ∪ literal match; results rendered into lang on demand. - `GET /v1/search/vector`: Search transcripts by meaning. Vector search over the caller's own transcriptions: finds the paragraphs closest in meaning to `q`, in any language, even when they share none of its words. ## share-links - `PATCH /v1/share-links/{id}`: Update a share link. The share sheet's toggles: any of `label`, `allowDownload`, `allowExport`, `allowTranslate`. - `DELETE /v1/share-links/{id}`: Revoke a share link. Revoke: the public page 404s at once. - `GET /v1/shares/{code}`: Open a share code. What a share link's code opens, with no credential: the transcription's name, who shared it (`sharedBy`, a display name only), what the link allows (`allowDownload`, `allowExport`, `allowTranslate`), its latest recording (`recording`, read as a listener sees it) and, for a file or a link, the recording's job. ## speakers - `GET /v1/speakers`: List saved speakers. The people the account saved, newest first: what the dashboard's Speakers page lists. - `POST /v1/speakers`: Save a speaker. Save a speaker from a recorded sample: multipart/form-data with a `sample` audio part and a `meta` JSON part (or `sampleUrl` in `meta`). - `POST /v1/speakers/archive`: Archive speakers. Archive several speakers in one call (up to 500 `ids`), each as the one-speaker call would. - `POST /v1/speakers/delete`: Delete speakers. Delete several speakers in one call (up to 500 `ids`), each as the one-speaker call would. - `POST /v1/speakers/from-appearance`: Save a speaker from a transcription. Save one speaker of a transcription — no sample to upload, because the transcription's own audio is the sample. - `POST /v1/speakers/restore`: Restore speakers. Restore several speakers in one call (up to 500 `ids`), each as the one-speaker call would. - `GET /v1/speakers/{id}`: Get a saved speaker. The speaker, and their cloned voice's training state on `voice`: `training` / `ready` / `failed`, with `progress` and, when it failed, `error`. - `PATCH /v1/speakers/{id}`: Update a saved speaker. Rename a speaker, recolour them, or switch their cloned voice off (`enabled`; ignored while they have none). - `DELETE /v1/speakers/{id}`: Delete a saved speaker. Delete the speaker, their fingerprint, their recorded sample and their cloned voice. - `POST /v1/speakers/{id}/archive`: Archive a saved speaker. Put a speaker away: they are no longer recognised, their voice no longer speaks and is not offered, and they no longer name or stand for any speaker in a transcription — those are unlinked, and the ones they had named are back to their plain labels. - `POST /v1/speakers/{id}/consent`: Grant or refuse consent to clone a speaker. Record whether the speaker agreed to have their voice cloned. - `GET /v1/speakers/{id}/preview`: Preview a speaker's cloned voice. The speaker's cloned voice speaking, Ogg/Opus — `format=caf` for Apple's media stack, which will not play Ogg. - `POST /v1/speakers/{id}/restore`: Restore a saved speaker. Bring an archived speaker back into use. - `GET /v1/speakers/{id}/sample`: Get a speaker's sample. The audio this speaker was saved from (an upload, or the clip cut from a transcription), for their owner alone. ## tags - `GET /v1/tags`: List tags. The account's tags, by name. - `POST /v1/tags`: Create a tag. A tag: `name` (1 to 40 characters, unique in the account however it is cased: `conflict` when taken) and `color`, one of `coral`, `amber`, `lime`, `green`, `teal`, `blue`, `violet`, `pink` — when omitted, the first no tag of the account has yet. - `PATCH /v1/tags/{id}`: Update a tag. Rename or recolour a tag: any of `name`, `color`. - `DELETE /v1/tags/{id}`: Delete a tag. Delete a tag: it comes off every transcription it is on. - `POST /v1/tags/{id}/transcriptions`: Tag transcriptions. Put the tag on the transcriptions in `add` and take it off those in `remove`, by id, up to 500 in one call. ## transcriptions - `GET /v1/transcriptions`: List transcriptions. Transcriptions owned by the acting principal (file, link and live), newest first (by `createdAt`), a page at a time: follow `nextCursor` (absent on the last page) as `cursor`. - `POST /v1/transcriptions`: Create a transcription. Transcribe a file or a link: creates the transcription, its recording and a server-owned job. - `POST /v1/transcriptions/archive`: Archive transcriptions. Archive several transcriptions in one call (up to 500 `ids`), each as the one-transcription call would. - `POST /v1/transcriptions/live`: Create a live transcription. Create a live transcription: captured as it is spoken — this device's microphone, or a stream the server pulls — rather than read from a file (`live: true`). - `GET /v1/transcriptions/lookup`: Find a link's transcription. The caller's own transcription of a link, if there is one: the newest active (not archived or purged) transcription whose recording was transcribed from `url`. - `GET /v1/transcriptions/probe`: Probe a link. What a link is before it is transcribed: `live` — a YouTube live on air or scheduled, an endless HTTP stream, an HLS playlist with no end, a dynamic DASH manifest — belongs in a live transcription; `file` is transcribed as one; `unknown` could not be told. - `POST /v1/transcriptions/purge`: Purge transcriptions. Purge several transcriptions in one call (up to 500 `ids`), each as the one-transcription call would. - `POST /v1/transcriptions/restore`: Restore transcriptions. Restore several transcriptions in one call (up to 500 `ids`), each as the one-transcription call would. - `GET /v1/transcriptions/{id}`: Get a transcription. One transcription of the acting principal's, by id. - `PATCH /v1/transcriptions/{id}`: Update a transcription. Rename, or update default capture settings. - `PUT /v1/transcriptions/{id}/appearances/{idx}`: Name a speaker. Name a speaker of this transcription: `idx` is their display number, the `number` of "Speaker " (`TranscriptSnapshot.speakers[].number`, `transcript.speakerNumbers`). - `POST /v1/transcriptions/{id}/archive`: Archive a transcription. Archive the transcription: hidden, its links dead, its data kept until it is restored or purged. - `PUT /v1/transcriptions/{id}/broadcasts/{broadcast}`: Attach a broadcast. Feed a broadcast from the live transcription `id`: listeners on the broadcast's link read the transcription while it records, and its recordings are listed with the broadcast's own. - `DELETE /v1/transcriptions/{id}/broadcasts/{broadcast}`: Detach a broadcast. Stop feeding the broadcast from the live transcription `id`. - `POST /v1/transcriptions/{id}/purge`: Purge a transcription. Delete an archived transcription and everything in it, for good. - `GET /v1/transcriptions/{id}/recordings`: List a transcription's recordings. The transcription's recordings, newest first, a page at a time: follow `nextCursor` (absent on the last page) as `cursor`. - `POST /v1/transcriptions/{id}/recordings`: Start a recording. Start recording a live transcription and mint a publisher realtime session (`streamUrl`, `sessionId`). - `POST /v1/transcriptions/{id}/recordings/upload`: Upload a recording. A file or link recording in this transcription: no live phase, transcribed at full speed. - `POST /v1/transcriptions/{id}/restore`: Restore a transcription. Bring an archived transcription back. - `GET /v1/transcriptions/{id}/scripts`: List a transcription's scripts. The transcription's scripts, soonest first (those with no time last): the words each planned recording will follow. - `GET /v1/transcriptions/{id}/share-links`: List a transcription's share links. Active share links of the transcription. - `POST /v1/transcriptions/{id}/share-links`: Create a share link. A named link ("Who is it for?") to the read-only public page. ## voices - `GET /v1/voices/available`: List available voices. The voices that can speak a language, best first (`default` marks the one a recording that pins none gets). - `GET /v1/voices/preview`: Preview a voice. A few seconds of a voice speaking a language, Ogg/Opus (`format=caf` for Apple's media stack).