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
addSharingVoice
POST/v1/voices/add/{public_user_id}/{voice_id}
Add a shared voice to your collection of voices.

Parameters

required

Public user ID used to publicly identify ElevenLabs users.

required

Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.

Input

required

The name that identifies this voice. This will be displayed in the dropdown of the website.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.addSharingVoice({
  "bookmarked": true
})