Skip to main content
GET
/
api
/
v1
/
pronunciation-dictionaries
/
{providerId}
Get a pronunciation dictionary by provider ID
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}', 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"
}

Path Parameters

providerId
string
required

Provider-specific dictionary ID

Response

Returns the dictionary

Response DTO for pronunciation dictionary operations

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