Skip to content
Documentation menu
docs / api / get-v1-voice-bank
Voice

GET/v1/voice/bank

Access and price

AuthAn API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit. Needs a full key; a browser (maps) key is refused.
PriceNot metered: no quota, no credit.

What it does

List the clips this deployment already has, so the app can bundle the closed-grammar bank at build time.

An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/v1/voice/bank?format=…" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInTypeRequiredDescription
voicequerystringnoRegistry voice id to list (en-gb-f, amelia, fr-fr-1). Absent is the en-GB default (en-gb-f; it was amelia until 5 Oct 2026), so a bundler of Amelia's clips names her.
formatquerystringyesContainer: opus or m4a.
limitqueryintegernoPage size, 1–1000 (default 1000). Limits: at least 0.
afterquerystringnoResume after this hash: the next_after of the previous page.

Responses

200Cached clips for one voice and format, paged by hash
FieldTypeRequiredDescription
clipsBankClip[]yesClips cached for this voice and format, ordered by hash.
formatstringyesThe container these clips are in.
next_afterstringnoPass as after for the next page; absent on the last page.
totalintegeryesClips cached in total for this voice and format, across all pages.
voiceVoiceDescriptoryesThe voice, provider and model these clips were rendered with.

Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
{
  "clips": [
    {
      "bytes": 0,
      "created_at": "string",
      "hash": "string",
      "rate": 0,
      "text": "string",
      "url": "string",
      "voice": "string"
    }
  ],
  "format": "string",
  "total": 0,
  "voice": {
    "gender": "female",
    "id": "string",
    "model": "string",
    "provider": "string"
  }
}
400Invalid query, or unknown_voice

application/problem+json · Problem

401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (unauthorized)

application/problem+json · Problem

403Not an operator key: the bank listing is for build-time bundling by the operator. Also: A browser (maps-scoped) key on a route that needs a full-scope key (scope-insufficient)

application/problem+json · Problem

501Voice clips are not enabled

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (request-timeout)

application/problem+json · Problem

Error bodies follow the shared problem model documented on API conventions.

Also under Voice

Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_bank