Skip to main content
GET
/
api
/
v1
/
pronunciation-dictionaries
List all pronunciation dictionaries
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
[
  {
    "providerId": "<string>",
    "provider": "<string>",
    "orgId": "<string>",
    "contentHash": "<string>",
    "content": [
      {
        "type": "alias",
        "text": "<string>",
        "alias": "<string>"
      }
    ],
    "name": "<string>",
    "createdTime": "2023-11-07T05:31:56Z",
    "lastUpdatedTime": "2023-11-07T05:31:56Z"
  }
]

Response

Returns the list of dictionaries

providerId
string
required

Provider-specific ID of the pronunciation dictionary

Minimum string length: 1
provider
string
required

TTS provider name (e.g., 'ElevenLabs', 'Cartesia')

Minimum string length: 1
orgId
string
required

Organization ID

Minimum string length: 1
contentHash
string
required

Hash of the dictionary content for version tracking

Minimum string length: 1
content
object[]
required

List of pronunciation rules in this dictionary

Base class for pronunciation rules using the discriminator pattern. Uses TypeIndicatorConverter for polymorphic JSON serialization.

name
string
required

Human-readable name of the dictionary

Minimum string length: 1
createdTime
string<date-time>
required

When the dictionary was created

lastUpdatedTime
string<date-time>
required

When the dictionary was last updated