Returns one voice. The ID can be a catalog voice (for example 11labs-Adrian) or a voice your workspace cloned or added from the community library.
Request#
| Path parameter | Type | Required | Description |
|---|---|---|---|
voice_id |
string | Yes | The voice ID, as returned by List voices. |
Example request#
curl https://api.tried.com.au/get-voice/11labs-Adrian \
-H "Authorization: Bearer $TRIED_API_KEY"const res = await fetch("https://api.tried.com.au/get-voice/11labs-Adrian", {
headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const voice = await res.json();import os, requests
res = requests.get(
"https://api.tried.com.au/get-voice/11labs-Adrian",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
voice = res.json()Response#
200 OK
{
"voice_id": "11labs-Adrian",
"voice_name": "Adrian",
"provider": "elevenlabs",
"provider_voice_id": "pNInz6obpgDQGcFmaJgB",
"gender": "male",
"accent": "American",
"age": "middle_aged",
"preview_audio_url": null
}The fields are the same as in List voices.
Errors#
| Status | When |
|---|---|
401 |
Missing or invalid API key. |
403 |
The key's IP allowlist or scopes reject the request. This route needs the agents scope. |
404 |
Voice <voice_id> not found. The ID is not in the catalog and is not a voice of this workspace. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.
Retell compatibility#
Same path and method as Retell. Retell's catalog IDs (such as retell-Cimo) do not exist in Tried, so look up IDs with List voices.