Javascript
import Retell from 'retell-sdk'; const client = new Retell({ apiKey: 'YOUR_RETELL_API_KEY', }); const voiceResponses = await client.voice.list(); console.log(voiceResponses);
[ { "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" } ]
List all voices available to the user
Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"
Successfully retrieved all voices.
The response is of type object[].
object[]
Was this page helpful?