Get TTS configuration
Agent Config API
Get TTS Config
Retrieve available Text-to-Speech providers and voices for agent voice output settings
GET
Get TTS configuration
Overview
Retrieve available TTS (Text-to-Speech) providers, models, and voices filtered by language. The TTS engine is the agent’s “voice” — it converts the LLM’s text responses into spoken audio that the caller hears. Each voice entry includes metadata such as gender and a sample audio URL so you can preview voices before selecting one. Thelanguage parameter is required. For multilingual agents, pass all language codes together to return only voices that support every language in the set.
Required Permission
agents
Query Parameters
Example cURL
Single Language
Multiple Languages
Filter by Provider
Response
Success (200)
Error Responses
404 Not Found - Missing language parameter or no matching configurationResponse Fields
Use Cases
- Populating a voice selector with audio preview in agent configuration
- Filtering TTS voices to only those compatible with the agent’s configured languages
- Comparing voice options across providers to best match your brand’s tone
- Building a voice gallery or preview feature using
sample_audio_url
The
language parameter is required. A request without at least one language value will return a 404 error. Use language codes from Get Languages.The
provider.providerId and voiceId values map directly to the provider and voice fields in the Update Agent ttsParams object. Use the demoAudioUrl to build an audio preview feature so users can hear voices before committing to a selection.Save the
requestId from every response. You will need it if you contact Inya support to trace a specific request.Authorizations
API key with 'agents' permission
Query Parameters
Language codes to filter by. At least one required. Repeat this parameter for multiple languages.
Filter results to a specific TTS provider
Example:
"gnani"