Pronunciation Dictionary
Add Rules To The Pronunciation Dictionary
Changed onAdd rules to the pronunciation dictionary. If a rule with the same string_to_replace already exists, it will be replaced.
post/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/add-rules
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/add-rules
- Authnone declared
Path parameters
pronunciation_dictionary_idstring required
The id of the pronunciation dictionary
Example:21m00Tcm4TlvDq8ikWAM
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.
Request body
Example request
{
"rules": [
{
"alias": "tie-land",
"case_sensitive": true,
"string_to_replace": "Thailand",
"type": "alias",
"word_boundaries": true
}
]
}Response
Successful Response
Example response
{
"id": "5xM3yVvZQKV0EfqQpLrJ",
"version_id": "5xM3yVvZQKV0EfqQpLr2",
"version_rules_num": 5
}Changes
- info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
/// - info
added the new optional request property
///
- info
- info
api operation id
Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_postremoved and replaced withadd_rules
- info