> 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.

# GetElevenLabsConnection

GET https://api//api/public/voice/GetElevenLabsConnection

The workspace's ElevenLabs connection: its status, the last four characters of the key, when the library was last synced and how many imported voices it offers. Read-only: a key is connected in the app, and the key itself is never returned. Answers `200` with `isConnected` false when no key is connected, and also works while ElevenLabs voices are not enabled for the workspace.

### Errors

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

Reference: https://docs.heyreach.io/hey-reach-api/voice/get-eleven-labs-connection

## Request

### Headers

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

## Response

### 200

OK

- `isConnected` (boolean, required)
- `voiceCount` (integer, required) — Imported voices offered for assignment; 0 while not connected.
- `libraryTruncated` (boolean, required)
- `sendersUsingElevenLabsVoices` (integer, required) — Senders of the workspace assigned an ElevenLabs voice; reported also while disconnected.
- `isFreeTier` (boolean, required)
- `status` (enum, optional, nullable) — Null while not connected.
  - Allowed values: `UNVERIFIED`, `VALID`, `INVALID_KEY`, `QUOTA_EXHAUSTED`, `MISSING_PERMISSION`, `ACCESS_BLOCKED`, `PLAN_RESTRICTED`
- `keyLast4` (string, optional, nullable)
- `statusReasonCode` (string, optional, nullable)
- `statusChangedAt` (datetime, optional, nullable)
- `lastValidatedAt` (datetime, optional, nullable)
- `ttsVerifiedAt` (datetime, optional, nullable)
- `lastSyncedAt` (datetime, optional, nullable)
- `accountTier` (string, optional, nullable)
- `characterLimit` (integer, optional, nullable)
- `characterCount` (integer, optional, nullable)
- `concurrencyLimit` (integer, optional, nullable) — Null while not connected.

## Errors

### 403 Get Eleven Labs Connection 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`

## Examples

**Response**

```json
{
  "isConnected": true,
  "voiceCount": 12,
  "libraryTruncated": false,
  "sendersUsingElevenLabsVoices": 3,
  "isFreeTier": false,
  "status": "VALID",
  "keyLast4": "a1b2",
  "statusChangedAt": "2026-11-01T10:00:00Z",
  "lastValidatedAt": "2026-11-06T08:30:00Z",
  "ttsVerifiedAt": "2026-11-01T10:00:00Z",
  "lastSyncedAt": "2026-11-06T08:30:00Z",
  "accountTier": "creator",
  "characterLimit": 100000,
  "characterCount": 2450,
  "concurrencyLimit": 5
}
```

**SDK Code**

```python
import requests

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

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

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

print(response.json())
```

```javascript
const url = 'https://api//api/public/voice/GetElevenLabsConnection';
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/GetElevenLabsConnection"

	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/GetElevenLabsConnection")

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/GetElevenLabsConnection")
  .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/GetElevenLabsConnection', [
  'headers' => [
    'X-API-KEY' => '<string>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api//api/public/voice/GetElevenLabsConnection");
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/GetElevenLabsConnection")! 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()
```