Using Custom Voice from Elevenlabs
# support
v
c
Make sure your API key with TTS and Voice permissions is added under Provider Keys in Vapi, your custom voice is in the Voice Lab not just Studio, and you're referencing the correct
voiceId
in your assistant config. 401 errors usually mean the key is invalid, missing, or the voice isn’t synced properly..
j
Hey I am currently experiencing this same issue, where adding my API key results in a 401 error. Could this be because my API key is from a European Residence ElevenLabs instance?
c
try using your key in this to test it. if it works here it should work in VAPI: https://elevenlabs.io/docs/api-reference/user/get?explorer=true
j
Thanks! This clears things up. My key works for https://api.eu.residency.elevenlabs.io/v1/user but not for https://api.elevenlabs.io/v1/user (returns invalid) That does lead to a new question: Can I get Vapi to call the eu.residency endpoint? Or should I find a way to get a global key?
c
We will DM you directly
2 Views