POST
/
api
/
v1
/
pronunciation-dicts
Create pronunciation dictionary
curl --request POST \
  --url https://waves-api.smallest.ai/api/v1/pronunciation-dicts \
  --header 'Content-Type: application/json' \
  --data '{
  "items": [
    {
      "word": "mysql",
      "pronunciation": "my-sequel"
    }
  ]
}'
{
  "id": "64f1234567890abcdef12345",
  "items": [
    {
      "word": "mysql",
      "pronunciation": "my-sequel"
    }
  ],
  "createdAt": "2023-09-01T12:00:00.000Z"
}

Body

application/json
items
object[]
required

List of word-pronunciation pairs to create

Minimum length: 1

Response

Successfully created pronunciation dictionary

id
string
required

Unique identifier for the pronunciation dictionary

Example:

"64f1234567890abcdef12345"

items
object[]
required

List of word-pronunciation pairs

createdAt
string<date-time>
required

Timestamp when the dictionary was created

Example:

"2023-09-01T12:00:00.000Z"