# Get voice

> GET https://api.nabrah.ai/api/ext/tts/voices/{voice_id}

Group: Text to speech. Page: https://www.nabrah.ai/en/docs/api-reference/text-to-speech/get-voice

Fetch the full details of a single voice by its ID. Use this to check a specific voice — most importantly to poll the `is_ready` flag after starting a clone job. The voice must be accessible to the project tied to your API key (a public platform voice or one of the project's private voices).

## Response shape

Returns the descriptor for one voice.

- **Voice fields**: The same fields returned per-voice by GET /api/ext/tts/voices. `is_ready` tells you whether the voice can be used for TTS yet. Fields: `id`, `name`, `is_public`, `created_at`, `is_ready`.

## Authorization

- `X-API-Key` (string, header, required): your workspace API key.

## Path parameters

- `voice_id` (string, required): The ID of the voice to retrieve. Use a voice `id` returned by GET /api/ext/tts/voices, or a `voice_id` returned by the Clone Voice endpoint.

## Response

### 200 Successful Response

Content type: `application/json`

```json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "name": "string",
  "is_public": false,
  "created_at": "2026-01-15T12:00:00.000Z",
  "is_ready": false
}
```

### 422 Validation Error

Content type: `application/json`

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
```

## Request examples

### cURL

```bash
curl --request GET \
  --url 'https://api.nabrah.ai/api/ext/tts/voices/<voice_id>' \
  --header 'X-API-Key: <your-api-key>'
```

### Python

```python
import requests

url = "https://api.nabrah.ai/api/ext/tts/voices/<voice_id>"
headers = {"X-API-Key": "<your-api-key>"}

response = requests.get(url, headers=headers)
response.raise_for_status()
print(response.json())
```

### JavaScript

```javascript
const response = await fetch("https://api.nabrah.ai/api/ext/tts/voices/<voice_id>", {
  method: "GET",
  headers: { "X-API-Key": "<your-api-key>" },
});

const data = await response.json();
console.log(data);
```

### Go

```go
package main

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

func main() {
	req, _ := http.NewRequest("GET", "https://api.nabrah.ai/api/ext/tts/voices/<voice_id>", nil)
	req.Header.Set("X-API-Key", "<your-api-key>")

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}
```
