Update an Audio Voice
Changed onRenames a voice that your workspace owns, instant or professional. Today name is the only field you can change. The name follows the same rules as when the voice was created: spaces at the start and end are removed, and an instant voice name can have 1 to 64 characters, a professional voice name 1 to 256. Returns the updated voice, in the same shape as GET /v3/models/audio/voices/{voice_id}. The HeyGen app also shows the new name. It may cut a name longer than 64 characters. A professional voice can be renamed in any status. An instant voice cannot be renamed while its status is PENDING, which lasts a few seconds after it is created: this returns 409 voice_not_ready, so wait a few seconds and try again. A public voice, a deleted voice, or a voice from another workspace returns 404 voice_not_found. A workspace member who cannot edit the voice in the HeyGen app is refused as DELETE refuses them: 403 resource_access_denied, or 404 resource_not_found when the member has no access to the voice at all.
Request
- Base URLhttps://api.heygen.com
- URLhttps://api.heygen.com/v3/models/audio/voices/{voice_id}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Unique voice identifier
Request body
Example request
{
"name": "Support Narrator"
}Response
Successful response
Changes
- info
endpoint added
- info