POST
/
v1
/
pronunciation-dictionaries
/
{pronunciation_dictionary_id}
/
add-rules

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Path Parameters

pronunciation_dictionary_id
string
required

The id of the pronunciation dictionary

Body

application/json
rules
object[]
required

List of pronunciation rules. Rule can be either: an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' }

Response

200 - application/json
id
string
required
version_id
string
required