List cloned voices
Lists the cloned voices owned by the calling workspace. Public ElevenLabs voices are not listed here — browse those in the ElevenLabs voice library.
GET
https://api.deutschlandgpt.de/v2/audio/voicesExample request
curl https://api.deutschlandgpt.de/v2/audio/voices \
-X GET \
-H "Authorization: Bearer $DGPT_API_KEY"curl https://api.deutschlandgpt.de/v2/audio/voices \
-X GET \
-H "Authorization: Bearer $DGPT_API_KEY"import os, requests
response = requests.get(
"https://api.deutschlandgpt.de/v2/audio/voices",
headers={"Authorization": f"Bearer {os.environ['DGPT_API_KEY']}"},
)
print(response.json())import os, requests
response = requests.get(
"https://api.deutschlandgpt.de/v2/audio/voices",
headers={"Authorization": f"Bearer {os.environ['DGPT_API_KEY']}"},
)
print(response.json())const response = await fetch('https://api.deutschlandgpt.de/v2/audio/voices', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.DGPT_API_KEY}`,
},
});
console.log(await response.json());const response = await fetch('https://api.deutschlandgpt.de/v2/audio/voices', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.DGPT_API_KEY}`,
},
});
console.log(await response.json());Response
200application/json
{
"object": "list",
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"object": "voice",
"voice_id": "string",
"name": "string",
"requires_verification": true,
"created": 0
}
]
}{
"object": "list",
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"object": "voice",
"voice_id": "string",
"name": "string",
"requires_verification": true,
"created": 0
}
]
}The workspace's cloned voices.
objectstringdataobject[]idstring<uuid>objectstringvoice_idstringnamestringrequires_verificationbooleancreatedintegerResponse codes
200
The workspace's cloned voices.
object401
Unauthorized
Was this page helpful?