Skip to main content
GET
/
config
/
tts-voice-providers
List TTS Voice Providers
curl --request GET \
  --url https://voice-livekit.studio.lyzr.ai/v1/config/tts-voice-providers \
  --header 'x-api-key: <api-key>'
{
  "providers": [
    {
      "providerId": "elevenlabs",
      "displayName": "ElevenLabs",
      "configured": true,
      "supportsSearch": true,
      "supportsFacets": true
    }
  ]
}
Retrieve a list of all Text-to-Speech (TTS) voice providers available for your Voice Agents, along with their supported querying capabilities. When building a custom dashboard where users can select a voice for their agent, this endpoint tells you exactly which providers are active and what kind of search interface you should render for them.
Authentication Required: You must include your API key in the x-api-key header to authenticate this request.

Understanding the Provider Metadata

A successful 200 OK response returns a providers array. Each object in this array contains critical configuration flags:
  • configured: A boolean indicating if the provider is fully set up (e.g., the necessary API keys are present in your environment). If this is false, you may want to disable or hide this provider in your UI.
  • supportsSearch: If true, the provider’s API allows you to pass custom text strings to search for specific voice names or characteristics.
  • supportsFacets: If true, the provider supports advanced filtering categories (facets) such as filtering by “Accent: British”, “Gender: Female”, or “Tone: Conversational”.

Authorizations

x-api-key
string
header
required

Response

200 - application/json

Provider metadata list retrieved successfully.

providers
object[]