Pronunciation Dictionaries
Update Pronunciation Dictionary
Changed onUpdate a pronunciation dictionary's name or rules using JSON Patch format (RFC 6902). Supported mutable fields are name and rules.
patch/v2/pronunciation-dictionaries/{dictionary_id}
Request
- Base URLhttps://tavusapi.com
- URLhttps://tavusapi.com/v2/pronunciation-dictionaries/{dictionary_id}
- AuthAPI key in header x-api-key
Path parameters
dictionary_idstring required
The unique identifier of the pronunciation dictionary.
Request body
Example request
[
{
"op": "replace",
"path": "/name"
}
]Response
Pronunciation dictionary updated successfully
Example response
{
"pronunciation_dictionary_id": "pd_abc123def456gh",
"name": "Updated Brand Terms",
"rules": [
{
"text": "Tavus",
"pronunciation": "TAH-vus",
"type": "alias",
"word_boundaries": true
}
],
"rules_count": 1,
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T12:00:00Z"
}Changes
- info
the endpoint scheme security
apiKeywas added to the API - info
added the media type
application/jsonto the request body - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- info