OtherAPI ReferenceText-to-Speech

Get shared voices

Retrieves the shared voices built into a TTS model, optionally filtered by gender, age, accent, use case and style. All given filters must match. For the voices you have cloned yourself, see `GET /v1/voices` instead.

GET
https://api.soniox.com/v1/shared-voices

Retrieves the shared voices built into a TTS model, optionally filtered by gender, age, accent, use case and style. All given filters must match. For the voices you have cloned yourself, see GET /v1/voices instead.

Headers

AuthorizationRequiredBearer <SONIOX_API_KEY>

Query parameters

modelRequiredstring

Id of the TTS model whose voices to return.

Maximum length: 64
genderstring

Only return voices of this gender.

agestring

Only return voices of this age.

accentstring

Only return voices with this accent.

Maximum length: 40
use_casearray<string>

Only return voices tagged with every listed use case. Repeat the parameter to pass several values, or separate them with commas.

stylearray<string>

Only return voices tagged with every listed style. Repeat the parameter to pass several values, or separate them with commas.

limitinteger

Maximum number of voices to return.

Default: 100Minimum: 1Maximum: 200
cursorstring

Pagination cursor for the next page of results. Pass the same filters alongside it; the cursor points into the filtered list, not the whole catalogue.

Response

200

List of shared voices matching the filters.

voicesRequiredarray<object>

List of voices matching the filters.

next_page_cursorstring

A pagination token that references the next page of results. When more data is available, this field contains a value to pass in the cursor parameter of a subsequent request. When null, no additional results are available.

Errors

List of shared voices matching the filters.

{
  "voices": [
    {
      "id": "Maya",
      "description": "A steady, clear voice with a natural presence and measured delivery that feels confident, warm, and easy to listen to.",
      "gender": "female",
      "age": "middle_aged",
      "accent": "british",
      "use_case": [
        "conversational"
      ],
      "style": [
        "smooth",
        "confident",
        "neutral"
      ]
    },
    {
      "id": "Victoria",
      "description": "A poised female voice with a refined British accent, smooth pacing, and a lightly textured tone that feels elegant, confident, and composed.",
      "gender": "female",
      "age": "middle_aged",
      "accent": "british",
      "use_case": [
        "educational",
        "narration",
        "conversational"
      ],
      "style": [
        "formal",
        "bright",
        "confident",
        "neutral",
        "calm"
      ]
    }
  ],
  "next_page_cursor": "cursor_or_null"
}