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);
{ "voice_id": "11labs-Adrian", "voice_name": "Adrian", "provider": "elevenlabs", "accent": "American", "gender": "male", "age": "Young", "preview_audio_url": "https://retell-utils-public.s3.us-west-2.amazonaws.com/adrian.mp3" }
Retrieve details of a specific voice
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
Unique id for the voice.
"11labs-Adrian"
Successfully retrieved a voice.
The response is of type object.
object
Was this page helpful?