Create a pronunciation item
Creates a new pronunciation item inside a pronunciations-type group. The
referenced group_id must belong to your organization and have
type: pronunciations.
bearerAuthAuthorizationBearer <token>API key in the Authorization: Bearer <key> header.
Keys are created in the Walido dashboard (Settings → API Keys).
application/json- body
At least one effective option is required: nonblank replacement, nonblank
valid IPA (see ipa), spell_out enabled, or an explicit supported rate. This also
applies to inactive entries. Nonempty whitespace-only replacement or
IPA values are rejected; meaningful text is preserved exactly.
replacement and ipa exclude each other: at most one of them may be
non-empty. The replacement is spoken on every voice; IPA applies only
on v2 voices.
group_id?string^[a-f0-9]{24}$word?stringThe written single-token form to match. Whitespace and angle
brackets (<, >) are rejected.
^[^\s<>]+$1 <= length <= 200replacement*string\Sipa?stringInternational Phonetic Alphabet transcription. Applied on v2 voices; ignored on v1 voices. Write raw IPA without /…/ or […] delimiters, using lowercase Latin letters, IPA symbols and diacritics, syllable dots, prosodic bars (|, ‖), the linking tie ‿ and spaces; any other character, such as an uppercase letter, a digit, a slash or a bracket, returns 400. Must be empty when spell_out is true or replacement is set.
^(?!\s+$)length <= 200""spell_out?booleanWhen true, the matched word is spoken letter by letter - API is spoken as A, P, I.
falserate?|Speaking rate stored with the rule; null means none. Currently not applied when the word is spoken, on any voice - the word is spoken at the voice/request speed.
nullnull"slow""medium""fast"case_sensitive?booleanfalseactive?booleantrueCreated.
application/json- response
data?curl -X POST 'https://api.walido.it/api/v1/pronunciation' \ -H 'Content-Type: application/json' \ -d '{ "group_id": "65a1234567890abcdef01234", "word": "SQL", "spell_out": true}'{ "data": { "id": "string", "group_id": "string", "group_name": "string", "word": "string", "replacement": "string", "ipa": "string", "spell_out": false, "rate": null, "case_sensitive": false, "active": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}