provider voices POST
/v1/voices/add/{public_user_id}/{voice_id} @utdk/elevenlabs
/v1/voices/add/{public_user_id}/{voice_id} Add Shared Voice
Add a shared voice to your collection of voices.
- public_user_id path required
- Public user ID used to publicly identify ElevenLabs users.
- string
- voice_id path required
- Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
- string
- xi-api-key header
- Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Try it
Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.addSharingVoice({
"bookmarked": true
})