> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tabbly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Voices

> Retrieve a list of available voices for your agents

**/get-voices**

Retrieve a list of all available voices that can be used when creating or configuring agents. Includes voice details such as language, gender, and style.

## Request

**organization\_id** `integer` *required*

Your organization ID

**api\_key** `string` *required*

Your organization API key

**language** `string`

Filter voices by language code (e.g., "en", "es", "hi")

**gender** `string`

Filter voices by gender (male, female)

## Examples

```bash cURL theme={null}
curl -X GET 'https://www.tabbly.io/dashboard/agents/endpoints/get-voices?organization_id=244&api_key=your_api_key&language=en' \
-H 'Content-Type: application/json'
```

```python Python theme={null}
import requests

params = {
    'organization_id': 244,
    'api_key': 'your_api_key',
    'language': 'en'
}

response = requests.get(
    'https://www.tabbly.io/dashboard/agents/endpoints/get-voices',
    params=params
)

print(response.json())
```

```javascript Node.js theme={null}
const axios = require('axios');

const params = {
    organization_id: 244,
    api_key: 'your_api_key',
    language: 'en'
};

axios.get('https://www.tabbly.io/dashboard/agents/endpoints/get-voices', { params })
    .then(response => console.log(response.data))
    .catch(error => console.error(error));
```

## Response

**success** `boolean`

Indicates if the request was successful

**voices** `array`

Array of voice objects

**total** `integer`

Total number of voices available

### Voice Object

**voice\_id** `integer`

Unique identifier for the voice

**voice\_name** `string`

Name of the voice

**language** `string`

Language code supported by the voice

**language\_name** `string`

Full name of the language

**gender** `string`

Gender of the voice (male, female)

**accent** `string`

Regional accent or variant

**style** `string`

Voice style (professional, friendly, authoritative)

**preview\_url** `string`

URL to preview the voice

### Success Response (200 OK)

```json theme={null}
{
    "success": true,
    "voices": [
        {
            "voice_id": 5,
            "voice_name": "Sarah - Professional",
            "language": "en",
            "language_name": "English",
            "gender": "female",
            "accent": "US",
            "style": "professional",
            "preview_url": "https://..."
        }
    ],
    "total": 150
}
```

## Error Responses

**400** `object`

Missing required fields

**404** `object`

Organization not found

**500** `object`

Server error


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.