jaimezorrilla
09/10/2025, 3:22 AMAI Evy
09/10/2025, 3:22 AMAI Evy
09/10/2025, 3:22 AMAI Evy
09/10/2025, 3:22 AMAI Evy
09/10/2025, 3:22 AMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const voiceResponses = await client.voice.list() ;
console.log(voiceResponses) ;
The response will include ElevenLabs voices with their voice IDs, like "11labs-Adrian" . Each voice object contains the voice_id, voice_name, provider (which will be "elevenlabs" for ElevenLabs voices) , accent, gender, age, and a preview_audio_url .
You can also retrieve details for a specific voice if you already know the voice ID using the Get Voice endpoint [(2) ]() :
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const voiceResponse = await client.voice.retrieve('11labs-Adrian') ;
console.log(voiceResponse.provider) ;jaimezorrilla
09/10/2025, 3:23 AMAI Evy
09/10/2025, 3:24 AMjaimezorrilla
09/10/2025, 3:24 AMAI Evy
09/10/2025, 3:24 AMAI Evy
09/10/2025, 3:24 AMAI Evy
09/10/2025, 3:24 AM