v5
OpenAPI 3.1.02026-08-043621,4011.8 MBvoices
Add Shared Voice
Add a shared voice to your collection of voices.
post/v1/voices/add/{public_user_id}/{voice_id}
Path parameters
public_user_idstring required
Public user ID used to publicly identify ElevenLabs users.
Example:63e06b7e7cafdc46be4d2e0b3f045940231ae058d508589653d74d1265a574ca
Public user ID used to publicly identify ElevenLabs users.
voice_idstring required
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
Example:21m00Tcm4TlvDq8ikWAM
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
Headers
xi-api-keystring nullable
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.
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.
Request body
Example request
{
"new_name": "John Smith"
}Response
Successful Response
Example response
{
"voice_id": "b38kUX8pkfYO2kHyqfFy"
}