Skip to main content
POST
/
pronunciation-dicts
/
cURL
curl --request POST \
  --url https://api.cartesia.ai/pronunciation-dicts/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Cartesia-Version: <cartesia-version>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "items": [
    {
      "text": "<string>",
      "alias": "<string>"
    }
  ]
}'
{
  "id": "<string>",
  "name": "<string>",
  "owner_id": "<string>",
  "pinned": true,
  "items": [
    {
      "text": "<string>",
      "alias": "<string>"
    }
  ],
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

Cartesia API key

Headers

Cartesia-Version
enum<string>
required

API version header. Must be set to the API version, e.g. '2024-06-10'.

Available options:
2024-06-10,
2024-11-13,
2025-04-16
Example:

"2025-04-16"

Body

application/json

Request to create a new pronunciation dictionary

name
string
required

Name for the new pronunciation dictionary

items
PronunciationDictItem · object[] | null

Optional initial list of pronunciation mappings

Response

200 - application/json

A dictionary of text-to-alias mappings

id
string
required

Unique identifier for the pronunciation dictionary

name
string
required

Name of the pronunciation dictionary

owner_id
string
required

ID of the user who owns this dictionary

pinned
boolean
required

Whether this dictionary is pinned for the user

items
PronunciationDictItem · object[]
required

List of text-to-pronunciation mappings

created_at
string
required

ISO 8601 timestamp of when the dictionary was created