---
title: "Get Pronunciation Dictionary"
method: GET
path: "/text-to-speech/pronunciation-dictionary/{dict_id}"
tags: ["pronunciationDictionary"]
---

# Get Pronunciation Dictionary

`GET /text-to-speech/pronunciation-dictionary/{dict_id}`

## Request

- Base URL: `https://api.sarvam.ai`
- URL: `https://api.sarvam.ai/text-to-speech/pronunciation-dictionary/{dict_id}`
- Auth: none declared. Required headers: `api-subscription-key`
- TypeScript: <https://skmtc.dev/sarvam/apis/endpoints/docs/text-to-speech/pronunciation-dictionary/:dict_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the full pronunciation mappings for a specific dictionary by its ID.

Returns the pronunciation data organized by language code, where each language contains word-to-pronunciation pairs.

## Path parameters

- `dict_id` string, required

## Headers

- `api-subscription-key` string, required

## Response `200`

Successful Response

- SarvamModelAPIPronunciationDictionaryData: The full pronunciation data for a dictionary.
  - `pronunciations` object, required: Pronunciation mappings organized by language code (e.g. `hi-IN`, `en-IN`). Each language maps words to their custom pronunciations.

## Other responses

- `400`: Bad Request — Invalid JSON, missing required fields, or bad schema.
- `403`: Forbidden
- `404`: Not Found — Dictionary not found.
- `422`: Unprocessable Entity
- `429`: Quota Exceeded
- `500`: Internal Server Error

---

[API](https://skmtc.dev/sarvam/apis/endpoints.md) - [All operations](https://skmtc.dev/sarvam/apis/endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/sarvam/apis/endpoints/revisions/2b7f7955b147?raw)
