ThunderPhone Voices API

The voices API from ThunderPhone — 11 operation(s) for voices.

GitHub OpenAPI

Operations 14

GET /v1/voices Voices list #
GET /v1/voices/library Voices library list #
GET /v1/voices/library/sample Voices library sample list #
GET /v1/voices/policy Voices policy list #
POST /v1/voices/preview Voices preview create #
GET /v1/voices/previews/{public_id} Voices previews retrieve #
GET /v1/voices/clones Voices clones list #
POST /v1/voices/clones Voices clones create #
GET /v1/voices/clones/{public_id} Voices clones retrieve #
PATCH /v1/voices/clones/{public_id} Voices clones partial update #
DELETE /v1/voices/clones/{public_id} Voices clones delete #
GET /v1/voices/clones/{public_id}/preview Voices clones preview list #
POST /v1/voices/quota-requests Voices quota requests create #
GET /v1/voices/quota-requests/current Voices quota requests current list #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thunderphone-com:thunderphone-com-voices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thunderphone-com-voices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThunderPhone Voices API
  version: 1.0.0
  description: Programmatic access to the ThunderPhone platform — agents, phone numbers, calls, billing, webhooks, and more. See https://thunderphone.com/docs and https://thunderphone.com/developers for the reference, tutorials and migration guides.
  contact:
    name: ThunderPhone support
    url: https://thunderphone.com/docs
servers:
- url: https://api.thunderphone.com
  description: Production
tags:
- name: Voices
paths:
  /v1/voices:
    get:
      operationId: voices_list
      description: 'Return the list of available voices and languages. GET /v1/voices GET /v1/voices?languages=en,es (filter to voices supporting ALL listed languages) GET /v1/voices?category=multilingual (filter by category) GET /v1/voices?gender=female (filter by gender) Response format: { "voices": [...], "languages": [...] }'
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceCatalog'
          description: ''
      summary: Voices list
      x-summary-source: derived
  /v1/voices/library:
    get:
      operationId: voices_library_list
      description: 'Search every vendor voice. GET /v1/voices/library?q=warm+australian&group=platform&language=en&gender=male GET /v1/voices/library?language=es,en (voices that speak both) GET /v1/voices/library?names=platform:cooper,elevenlabs:abc (look up given voices) ``group`` is ``platform``, ``cartesia`` or ``elevenlabs``; ``age`` and ``use_case`` keep voices with that value; ``exclude_featured=true`` leaves out the ElevenLabs voices ``/v1/voices`` already lists; ``like`` words rank the results (more of them first) without leaving any out; ``price=included`` or ``price=paid`` keeps voices without or with a per-minute add-on; ``hipaa=true`` keeps HIPAA-eligible voices only; ``compact=true`` is for browsing (a picker): with no ``q`` or ``accent`` it leaves out platform voices in languages other platform voices cover; ``limit`` (1-200, default 50) and ``offset`` page through the results. The response names the total.'
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceLibraryPage'
          description: ''
      summary: Voices library list
      x-summary-source: derived
  /v1/voices/library/sample:
    get:
      operationId: voices_library_sample_list
      description: 'GET /v1/voices/library/sample?voice=&sig=: a library voice''s sample as MP3. Rendered through Core''s preview path (the live TTS path) on first play and kept for everyone, so each voice costs one render at most. The URL comes signed in listings, so an ```` element can play it without an Authorization header; a signed-in request needs no signature. ElevenLabs voices (``elevenlabs:``, curated or shared library) render on the model calls use. When that render can''t be made, or the first-play limits are used up, the answer redirects to ElevenLabs'' own preview, so the card still plays.'
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      - {}
      responses:
        '200':
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
          description: ''
      summary: Voices library sample list
      x-summary-source: derived
  /v1/voices/policy:
    get:
      operationId: voices_policy_list
      description: Retrieve voices / policy. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoicePolicy'
          description: ''
      summary: Voices policy list
      x-summary-source: derived
  /v1/voices/preview:
    post:
      operationId: voices_preview_create
      description: Create or run voices / preview. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      tags:
      - Voices
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VoicePreviewRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoicePreview'
          description: ''
      summary: Voices preview create
      x-summary-source: derived
  /v1/voices/previews/{public_id}:
    get:
      operationId: voices_previews_retrieve
      description: Retrieve voices / previews. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: public_id
        schema:
          type: string
        required: true
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      - {}
      responses:
        '200':
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
          description: ''
      summary: Voices previews retrieve
      x-summary-source: derived
  /v1/voices/clones:
    get:
      operationId: voices_clones_list
      description: Retrieve voices / clones. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomVoice'
          description: ''
      summary: Voices clones list
      x-summary-source: derived
    post:
      operationId: voices_clones_create
      description: Create or run voices / clones. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      tags:
      - Voices
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/VoiceCloneRequest'
        required: true
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomVoice'
          description: ''
      summary: Voices clones create
      x-summary-source: derived
  /v1/voices/clones/{public_id}:
    get:
      operationId: voices_clones_retrieve
      description: Retrieve voices / clones. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: public_id
        schema:
          type: string
        required: true
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomVoice'
          description: ''
      summary: Voices clones retrieve
      x-summary-source: derived
    patch:
      operationId: voices_clones_partial_update
      description: Update voices / clones. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: public_id
        schema:
          type: string
        required: true
      tags:
      - Voices
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedVoiceCloneUpdateRequest'
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomVoice'
          description: ''
      summary: Voices clones partial update
      x-summary-source: derived
    delete:
      operationId: voices_clones_delete
      description: Delete voices / clones. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: public_id
        schema:
          type: string
        required: true
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '204':
          description: No response body
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceInUse'
          description: ''
      summary: Voices clones delete
      x-summary-source: derived
  /v1/voices/clones/{public_id}/preview:
    get:
      operationId: voices_clones_preview_list
      description: Retrieve voices / clones / preview. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      parameters:
      - in: path
        name: public_id
        schema:
          type: string
        required: true
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      - {}
      responses:
        '200':
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
          description: ''
      summary: Voices clones preview list
      x-summary-source: derived
  /v1/voices/quota-requests:
    post:
      operationId: voices_quota_requests_create
      description: Create or run voices / quota requests. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      tags:
      - Voices
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VoiceQuotaRequest'
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceQuotaResponse'
          description: ''
      summary: Voices quota requests create
      x-summary-source: derived
  /v1/voices/quota-requests/current:
    get:
      operationId: voices_quota_requests_current_list
      description: Retrieve voices / quota requests / current. Parameters and returned fields are described below; organization-scoped resources use the organization associated with the authenticated credential. See https://thunderphone.com/docs for usage and access requirements.
      tags:
      - Voices
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceQuotaResponse'
          description: ''
      summary: Voices quota requests current list
      x-summary-source: derived
components:
  schemas:
    CustomVoice:
      type: object
      properties:
        name:
          type: string
        public_id:
          type: string
        display_name:
          type: string
        language:
          type: string
        gender:
          type:
          - string
          - 'null'
        status:
          type: string
        failure_reason:
          type: string
        created_at:
          type: string
          format: date-time
        sample_url:
          type:
          - string
          - 'null'
        agent_id:
          type:
          - integer
          - 'null'
        warnings:
          type: array
          items:
            type: string
      required:
      - agent_id
      - created_at
      - display_name
      - failure_reason
      - gender
      - language
      - name
      - public_id
      - sample_url
      - status
    VoiceCloneRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        language:
          type: string
          minLength: 1
        audio:
          type: string
          format: binary
        consent:
          type: boolean
          description: Must be true.
        gender:
          oneOf:
          - $ref: '#/components/schemas/GenderEnum'
          - $ref: '#/components/schemas/NullEnum'
        agent_id:
          type:
          - integer
          - 'null'
          description: The agent the voice is made for, one of your organization's. It only records which agent; set the agent's voice separately.
      required:
      - audio
      - consent
      - language
      - name
    VoicePolicy:
      type: object
      properties:
        cloning_enabled:
          type: boolean
        max_custom_voices:
          type: integer
        used:
          type: integer
        custom_voice_surcharge_cents:
          type: integer
      required:
      - cloning_enabled
      - custom_voice_surcharge_cents
      - max_custom_voices
      - used
    VoicePreview:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
        cached:
          type: boolean
        charged_cents:
          type: integer
        expires_at:
          type: string
          format: date-time
      required:
      - cached
      - charged_cents
      - expires_at
      - id
      - url
    VoiceQuotaResponse:
      type: object
      properties:
        kind:
          type: string
        status:
          type: string
        requested_count:
          type: integer
        created_at:
          type: string
          format: date-time
        resolved_at:
          type:
          - string
          - 'null'
          format: date-time
      required:
      - created_at
      - kind
      - requested_count
      - status
    ElevenLabsVoice:
      type: object
      properties:
        name:
          type: string
        display_name:
          type: string
        tagline:
          type: string
        description:
          type: string
        gender:
          type:
          - string
          - 'null'
        age:
          type:
          - string
          - 'null'
        accent:
          type:
          - string
          - 'null'
        native_language:
          type:
          - string
          - 'null'
        use_case:
          type:
          - string
          - 'null'
        sample_url:
          type:
          - string
          - 'null'
      required:
      - accent
      - age
      - description
      - display_name
      - gender
      - name
      - native_language
      - sample_url
      - tagline
      - use_case
    UnavailableReasonEnum:
      enum:
      - phi
      type: string
      description: '* `phi` - phi'
    NullEnum:
      enum:
      - null
    VoiceCatalog:
      type: object
      properties:
        voices:
          type: array
          items:
            type: object
            additionalProperties: {}
        languages:
          type: array
          items:
            type: object
            additionalProperties: {}
        elevenlabs:
          $ref: '#/components/schemas/ElevenLabsVoiceCatalog'
      required:
      - elevenlabs
      - languages
      - voices
    VoiceQuotaKindEnum:
      enum:
      - custom_voices
      - phone_numbers
      - outbound_platform_numbers
      type: string
      description: '* `custom_voices` - custom_voices

        * `phone_numbers` - phone_numbers

        * `outbound_platform_numbers` - outbound_platform_numbers'
    LibraryVoice:
      type: object
      properties:
        name:
          type: string
        display_name:
          type: string
        tagline:
          type: string
        description:
          type: string
        gender:
          oneOf:
          - $ref: '#/components/schemas/GenderEnum'
          - $ref: '#/components/schemas/NullEnum'
        accent:
          type:
          - string
          - 'null'
        age:
          type:
          - string
          - 'null'
        use_case:
          type:
          - string
          - 'null'
        languages:
          type: array
          items:
            type: string
        native_language:
          type:
          - string
          - 'null'
        group:
          $ref: '#/components/schemas/GroupEnum'
        surcharge_cents:
          type: integer
        hipaa_eligible:
          type: boolean
        sample_url:
          type: string
          format: uri
      required:
      - accent
      - age
      - description
      - display_name
      - gender
      - group
      - hipaa_eligible
      - languages
      - name
      - native_language
      - sample_url
      - surcharge_cents
      - tagline
      - use_case
    VoicePreviewRequest:
      type: object
      properties:
        voice:
          type: string
          minLength: 1
        language:
          type: string
          minLength: 1
        text:
          type: string
      required:
      - language
      - voice
    VoiceInUse:
      type: object
      description: '409 from deleting a custom voice an agent still speaks with, live or in a draft (voices.services

        .agents_using_voice): a call set up with a deleted voice fails, so those agents need another voice first.'
      properties:
        code:
          type: string
          description: voice_in_use
        detail:
          type: string
          description: A sentence naming the agents and where each uses the voice.
        agents:
          type: array
          items:
            $ref: '#/components/schemas/VoiceInUseAgent'
      required:
      - agents
      - code
      - detail
    VoiceLibraryPage:
      type: object
      properties:
        voices:
          type: array
          items:
            $ref: '#/components/schemas/LibraryVoice'
        total:
          type: integer
        offset:
          type: integer
        limit:
          type: integer
      required:
      - limit
      - offset
      - total
      - voices
    PatchedVoiceCloneUpdateRequest:
      type: object
      properties:
        display_name:
          type: string
          minLength: 1
          maxLength: 100
        gender:
          $ref: '#/components/schemas/GenderEnum'
    GroupEnum:
      enum:
      - platform
      - cartesia
      - elevenlabs
      type: string
      description: '* `platform` - platform

        * `cartesia` - cartesia

        * `elevenlabs` - elevenlabs'
    VoiceInUseAgent:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        where:
          type: array
          items:
            type: string
          description: 'Where it speaks with the voice: main voice, "Spanish voice", step "Intake" (each with " in the draft" when only the draft names it), A/B variant "B".'
      required:
      - id
      - name
      - where
    VoiceQuotaRequest:
      type: object
      properties:
        kind:
          allOf:
          - $ref: '#/components/schemas/VoiceQuotaKindEnum'
          default: custom_voices
        requested_count:
          type: integer
          minimum: 1
        note:
          type: string
          maxLength: 2000
        use_case:
          type: string
          minLength: 1
          maxLength: 4000
        expected_daily_calls:
          type: integer
          maximum: 1000000
          minimum: 1
        consent_source:
          type: string
          minLength: 1
          maxLength: 4000
        consent_wording:
          type: string
          minLength: 1
          maxLength: 4000
        consent_recency:
          type: string
          minLength: 1
          maxLength: 4000
        business_name:
          type: string
          minLength: 1
          maxLength: 4000
        business_description:
          type: string
          minLength: 1
          maxLength: 4000
        list_source:
          type: string
          minLength: 1
          maxLength: 4000
        opt_out_handling:
          type: string
          minLength: 1
          maxLength: 4000
        website:
          type: string
          minLength: 1
          maxLength: 200
    GenderEnum:
      enum:
      - male
      - female
      type: string
      description: '* `male` - male

        * `female` - female'
    ElevenLabsVoiceCatalog:
      type: object
      properties:
        provider:
          type: string
        model:
          type: string
        model_label:
          type: string
        surcharge_cents:
          type: integer
        hipaa_eligible:
          type: boolean
        available:
          type: boolean
        unavailable_reason:
          oneOf:
          - $ref: '#/components/schemas/UnavailableReasonEnum'
          - $ref: '#/components/schemas/NullEnum'
        languages:
          type: array
          items:
            type: string
        voices:
          type: array
          items:
            $ref: '#/components/schemas/ElevenLabsVoice'
      required:
      - available
      - hipaa_eligible
      - languages
      - model
      - model_label
      - provider
      - surcharge_cents
      - unavailable_reason
      - voices
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_live_…
      description: 'Organization API key. Send Authorization: Bearer sk_live_…; create a key in the dashboard.'
    humanToken:
      type: apiKey
      in: header
      name: Authorization
      description: 'Human session token: Authorization: Token <session-token>. Organization API keys are rejected by key-management and account-control operations.'
x-mcp-server: https://api.thunderphone.com/v1/mcp