API Endpoint
Endpoint:GET /api/voice-list
Authentication: Required (Token header: token or api_access_token)
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | Voice provider name. Supported values: elevenlabs, openai, deepgram, sarvam |
page_token | string | No | Token for pagination to retrieve the next page of results |
limit | integer | No | Number of voices to return per page (default varies by provider) |
Response Fields
| Field | Type | Description |
|---|---|---|
error | boolean | Indicates if there was an error |
code | integer | HTTP status code |
message | string | Success or error message |
timestamp | integer | Unix timestamp in milliseconds |
data | object | Response data object |
data.provider_id | string | Unique identifier for the provider |
data.provider_name | string | Name of the voice provider |
data.total_count | integer | Total number of available voices |
data.next_page_token | string | Token for fetching the next page (null if no more pages) |
data.has_more | boolean | Indicates if more voices are available |
data.voices | array | Array of voice objects |
Voice Object Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique voice identifier (use this when creating agents) |
title | string | Display name of the voice |
category | string | Voice category (professional, premade, etc.) |
description | string | Detailed description of the voice characteristics |
url | string | Sample audio URL to preview the voice |
language | string | Language code (e.g., en, ta, ar, hi) |
age | string | Age category (young, middle_aged, old) |
gender | string | Gender (male, female, neutral) |
image | string | Profile image URL (may be null) |
Error Responses
400 - Bad Request
Status Code:400 Bad Request
401 - Authentication Error
Status Code:401 Unauthorized
404 - Provider Not Found
Status Code:404 Not Found
500 - Server Error
Status Code:500 Internal Server Error
Pagination
Whenhas_more is true, use the next_page_token value in your next request to fetch the next page of voices:
Supported Providers
| Provider | ID | Description |
|---|---|---|
| ElevenLabs | elevenlabs | High-quality AI voices with emotional range |
| OpenAI | openai | OpenAI’s text-to-speech voices |
| Deepgram | deepgram | Fast, accurate voice synthesis |
| Sarvam | sarvam | Multilingual voices optimized for Indian languages |
Usage Notes
- Use the
idfield from the voice object when creating or updating agents with thevoice_idparameter - Preview voices using the
urlfield before selecting one for your agent - Filter voices by
language,gender, oragein your application logic - The
categoryfield helps identify voice types (professionalfor business use,premadefor general purpose) - Some providers may have rate limits on voice listing; implement caching when possible
Example: Using Voice ID in Agent Creation
After fetching voices, use the voiceid when creating an agent:

