Made in 10Docs
GuidesAPI
ReferencePronunciations

Create a pronunciation dictionary

Makes a dictionary of aliases.

POST
/pronunciations

Authorization

secretKey
headerAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>

A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.

Request Body

application/json
  1. body
Example
{  "name": "Names",  "entries": [    {      "text": "Nguyen",      "say": "Win"    }  ]}
name*string
Length1 <= length <= 80
entries?array<>

No text twice (any case).

Itemsitems <= 200
Default[]

Response Body

The new dictionary.

application/json
  1. response
Example
{  "id": "prn_2Wd7Kq4ZmR9xHc5PvB1n",  "name": "Names",  "entries": [    {      "text": "Nguyen",      "say": "Win",      "whole_word": true    },    {      "text": "SQL",      "say": "sequel",      "whole_word": false    }  ],  "character_ids": [    "chr_4fT9kQ2mXw7LbN3pZs8V"  ],  "created_unix": 1793300000,  "updated_unix": 1793300000}
id*PronunciationDictionaryId
Match^prn_[0-9A-Za-z]{20}$
Example"prn_2Wd7Kq4ZmR9xHc5PvB1n"
name*string
Length1 <= length <= 80
entries*array<>
Itemsitems <= 200
character_ids*array<>
created_unix*Unix

Unix seconds, UTC.

Formatint64
Example1793300000
updated_unix*Unix

Unix seconds, UTC.

Formatint64
Example1793300000
Example Request
curl -X POST 'https://api.daxov.com/v1/pronunciations' \  -H 'Content-Type: application/json' \  -d '{  "name": "Names",  "entries": [    {      "text": "Nguyen",      "say": "Win"    }  ]}'
Example Response
{  "id": "prn_2Wd7Kq4ZmR9xHc5PvB1n",  "name": "Names",  "entries": [    {      "text": "Nguyen",      "say": "Win",      "whole_word": true    },    {      "text": "SQL",      "say": "sequel",      "whole_word": false    }  ],  "character_ids": [    "chr_4fT9kQ2mXw7LbN3pZs8V"  ],  "created_unix": 1793300000,  "updated_unix": 1793300000}