> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.heyreach.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.heyreach.io/_mcp/server.

# GetVoices

GET https://api//api/public/voice/GetVoices

Get the workspace's voice library: every active predefined voice plus the workspace's own cloned voices, each with the LinkedIn accounts it is assigned to. An ElevenLabs voice is listed here only while a sender uses it; the whole imported ElevenLabs library is **GetElevenLabsVoices**.

### Errors

- **403** `NO_ACTIVE_SUBSCRIPTION` or `VOICE_NOTES_NOT_ENABLED`.

Reference: https://docs.heyreach.io/hey-reach-api/voice/get-voices

## Request

### Query parameters

- `gender` (enum, optional) — Optional gender filter.
  - Allowed values: `MALE`, `FEMALE`

### Headers

- `X-API-KEY` (string, optional) — API key header using this scheme. Example: "X-API-KEY: \{API\_KEY}"

## Response

### 200

OK

- `list of GetVoicesVoiceResponseItem`

## Errors

### 403 Get Voices Voice Request Forbidden Error

Forbidden. `NO_ACTIVE_SUBSCRIPTION`: the workspace has no active subscription. `VOICE_NOTES_NOT_ENABLED`: voice notes are not enabled for the workspace.

- `errorMessage` (string, required)
- `errorCode` (enum, optional)
  - Allowed values: `NO_ACTIVE_SUBSCRIPTION`, `VOICE_NOTES_NOT_ENABLED`, `ELEVENLABS_NOT_ENABLED`

## Types

### GetVoicesVoiceResponseItem

- `id` (integer, required)
- `kind` (enum, required)
  - Allowed values: `PREDEFINED`, `CUSTOM`
- `name` (string, required)
- `gender` (enum, required)
  - Allowed values: `MALE`, `FEMALE`
- `status` (enum, required) — Predefined voices are always READY.
  - Allowed values: `PENDING`, `READY`, `FAILED`
- `hasPreviewAudio` (boolean, required)
- `assignedAccountIds` (list of integer, required)
- `provider` (enum, required)
  - Allowed values: `BUILT_IN`, `ELEVENLABS`
- `genderKnown` (boolean, required) — False when ElevenLabs had no gender label for the voice; `gender` is then a placeholder.
- `accent` (string, optional, nullable)
- `language` (string, optional, nullable) — ISO 639-1 language of the voice. Set only for predefined voices; null for custom voices.
- `description` (string, optional, nullable)
- `source` (enum, optional, nullable) — Set only for custom voices; null for predefined voices.
  - Allowed values: `RECORDED`, `UPLOADED`
- `sampleDurationMs` (integer, optional, nullable)
- `cloneFailureReason` (string, optional, nullable) — Why a FAILED custom voice failed. Null for every other status and for predefined voices.
- `createdByUserId` (integer, optional, nullable) — Who cloned the voice. Null for predefined voices and for voices cloned through the API.
- `createdByFirstName` (string, optional, nullable)
- `createdByLastName` (string, optional, nullable)
- `providerVoiceId` (string, optional, nullable) — The ElevenLabs voice id; null for built-in voices.
- `providerVoiceLabel` (string, optional, nullable) — ElevenLabs voices only: language · accent · category from the last library sync. Null for built-in voices.
- `unavailableReason` (enum, optional, nullable) — Why an ElevenLabs voice cannot be used right now; null while the voice is usable.
  - Allowed values: `PROVIDER_VOICE_NOT_FOUND`, `PROVIDER_VOICE_ACCESS_DENIED`, `PROVIDER_CONNECTION_INVALID_KEY`, `PROVIDER_CONNECTION_QUOTA_EXHAUSTED`, `PROVIDER_CONNECTION_MISSING_PERMISSION`, `PROVIDER_CONNECTION_ACCESS_BLOCKED`, `PROVIDER_CONNECTION_PLAN_RESTRICTED`, `PROVIDER_CONNECTION_DISCONNECTED`
- `availableUntil` (datetime, optional, nullable) — UTC. Set only for an ElevenLabs Voice Library voice whose owner removed it from the ElevenLabs Voice Library: the date ElevenLabs stops serving it. The voice keeps working until then. Null for every other voice. As of the last library sync: about once a day automatically while a sender in the workspace uses an ElevenLabs voice, or at once with **RefreshElevenLabsLibrary**. When `unavailableReason` is also set, the voice is already unusable and `unavailableReason` applies.

## Examples

**Response**

```json
[
  {
    "id": 812,
    "kind": "CUSTOM",
    "name": "Alex - Warm & Conversational",
    "gender": "MALE",
    "status": "READY",
    "hasPreviewAudio": true,
    "assignedAccountIds": [
      12345
    ],
    "provider": "ELEVENLABS",
    "genderKnown": true,
    "accent": "american",
    "providerVoiceId": "VxLb3kQ9mN2pR7sT4wYz",
    "providerVoiceLabel": "en · american · professional",
    "availableUntil": "2026-12-06T02:02:00Z"
  }
]
```

**SDK Code**

```python
import requests

url = "https://api//api/public/voice/GetVoices"

headers = {"X-API-KEY": "<string>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api//api/public/voice/GetVoices';
const options = {method: 'GET', headers: {'X-API-KEY': '<string>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api//api/public/voice/GetVoices"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-KEY", "<string>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api//api/public/voice/GetVoices")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<string>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api//api/public/voice/GetVoices")
  .header("X-API-KEY", "<string>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api//api/public/voice/GetVoices', [
  'headers' => [
    'X-API-KEY' => '<string>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api//api/public/voice/GetVoices");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-KEY", "<string>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-KEY": "<string>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api//api/public/voice/GetVoices")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```