> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a pronunciation dictionary

> Retrieve a single pronunciation dictionary by ID.



## OpenAPI

````yaml /openapi/source/external/text-to-speech/pronunciation-dicts.json get /pronunciation_dicts/{id}
openapi: 3.1.0
info:
  version: 1.0.0
  title: Telnyx API
  x-latency-category: interactive
  x-endpoint-cost: light
  description: >-
    Pronunciation Dictionaries allow you to control how specific words and
    phrases are spoken during text-to-speech synthesis. Create dictionaries
    containing alias items (text replacement) and phoneme items (IPA
    pronunciation notation) that are applied before speech generation.
  license:
    name: MIT
    url: https://github.com/openai/openai-openapi/blob/master/LICENSE
  contact:
    email: support@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
    description: Telnyx API v2
security:
  - bearerAuth: []
tags:
  - name: Pronunciation Dictionaries
    description: >-
      Manage pronunciation dictionaries for text-to-speech synthesis.
      Dictionaries contain alias items (text replacement) and phoneme items (IPA
      pronunciation notation) that control how specific words are spoken.
paths:
  /pronunciation_dicts/{id}:
    get:
      tags:
        - Pronunciation Dictionaries
      summary: Get a pronunciation dictionary
      description: Retrieve a single pronunciation dictionary by ID.
      operationId: GetPronunciationDict
      parameters:
        - $ref: '#/components/parameters/pronunciation_dict_id'
      responses:
        '200':
          description: The requested pronunciation dictionary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PronunciationDictResponse'
        '401':
          description: Unauthorized. Invalid or missing API key.
        '404':
          description: Pronunciation dictionary not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - code: '90201'
                    title: Pronunciation dictionary not found
                    detail: The requested pronunciation dictionary does not exist
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Telnyx from 'telnyx';

            const client = new Telnyx({
              apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
            });

            const pronunciationDict = await client.pronunciationDicts.retrieve(
              'c215a3e1-be41-4701-97e8-1d3c22f9a5b7',
            );

            console.log(pronunciationDict.data);
        - lang: Python
          source: |
            import os
            from telnyx import Telnyx

            client = Telnyx(
                api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
            )
            pronunciation_dict = client.pronunciation_dicts.retrieve(
                "c215a3e1-be41-4701-97e8-1d3c22f9a5b7",
            )
            print(pronunciation_dict.data)
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/team-telnyx/telnyx-go\"\n\t\"github.com/team-telnyx/telnyx-go/option\"\n)\n\nfunc main() {\n\tclient := telnyx.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpronunciationDict, err := client.PronunciationDicts.Get(context.TODO(), \"c215a3e1-be41-4701-97e8-1d3c22f9a5b7\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", pronunciationDict.Data)\n}\n"
        - lang: Java
          source: >-
            package com.telnyx.sdk.example;


            import com.telnyx.sdk.client.TelnyxClient;

            import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;

            import
            com.telnyx.sdk.models.pronunciationdicts.PronunciationDictRetrieveParams;

            import
            com.telnyx.sdk.models.pronunciationdicts.PronunciationDictRetrieveResponse;


            public final class Main {
                private Main() {}

                public static void main(String[] args) {
                    TelnyxClient client = TelnyxOkHttpClient.fromEnv();

                    PronunciationDictRetrieveResponse pronunciationDict = client.pronunciationDicts().retrieve("c215a3e1-be41-4701-97e8-1d3c22f9a5b7");
                }
            }
        - lang: Ruby
          source: >-
            require "telnyx"


            telnyx = Telnyx::Client.new(api_key: "My API Key")


            pronunciation_dict =
            telnyx.pronunciation_dicts.retrieve("c215a3e1-be41-4701-97e8-1d3c22f9a5b7")


            puts(pronunciation_dict)
        - lang: PHP
          source: >-
            <?php


            require_once dirname(__DIR__) . '/vendor/autoload.php';


            use Telnyx\Client;

            use Telnyx\Core\Exceptions\APIException;


            $client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API
            Key');


            try {
              $pronunciationDict = $client->pronunciationDicts->retrieve(
                'c215a3e1-be41-4701-97e8-1d3c22f9a5b7'
              );

              var_dump($pronunciationDict);
            } catch (APIException $e) {
              echo $e->getMessage();
            }
        - lang: CLI
          source: |-
            telnyx pronunciation-dicts retrieve \
              --api-key 'My API Key' \
              --id c215a3e1-be41-4701-97e8-1d3c22f9a5b7
components:
  parameters:
    pronunciation_dict_id:
      name: id
      in: path
      required: true
      description: The UUID of the pronunciation dictionary.
      schema:
        type: string
        format: uuid
        example: c215a3e1-be41-4701-97e8-1d3c22f9a5b7
  schemas:
    PronunciationDictResponse:
      type: object
      description: Response containing a single pronunciation dictionary.
      properties:
        data:
          $ref: '#/components/schemas/PronunciationDictData'
    ErrorResponse:
      type: object
      description: Standard Telnyx error response.
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorObject'
    PronunciationDictData:
      type: object
      description: A pronunciation dictionary record.
      properties:
        record_type:
          type: string
          description: Identifies the resource type.
          enum:
            - pronunciation_dict
          example: pronunciation_dict
        id:
          type: string
          format: uuid
          description: Unique identifier for the pronunciation dictionary.
          example: c215a3e1-be41-4701-97e8-1d3c22f9a5b7
        name:
          type: string
          description: >-
            Human-readable name for the dictionary. Must be unique within the
            organization.
          example: Brand Names
        items:
          type: array
          description: List of pronunciation items (alias or phoneme type).
          items:
            $ref: '#/components/schemas/PronunciationDictItem'
        version:
          type: integer
          description: >-
            Auto-incrementing version number. Increases by 1 on each update.
            Used for optimistic concurrency control and cache invalidation.
          example: 1
        created_at:
          type: string
          format: date-time
          description: ISO 8601 timestamp with millisecond precision.
          example: '2026-03-25T12:00:00.000Z'
        updated_at:
          type: string
          format: date-time
          description: ISO 8601 timestamp with millisecond precision.
          example: '2026-03-25T12:00:00.000Z'
    ErrorObject:
      type: object
      properties:
        code:
          type: string
          description: Machine-readable error code.
          example: '90202'
        title:
          type: string
          description: Short human-readable error title.
          example: Validation failed
        detail:
          type: string
          description: Detailed error description.
          example: items must have at least one item
        source:
          type: object
          description: Source of the error.
          properties:
            pointer:
              type: string
              description: JSON pointer to the field that caused the error.
              example: /items
    PronunciationDictItem:
      description: >-
        A single pronunciation dictionary item. Use type 'alias' to replace
        matched text with a spoken alias, or type 'phoneme' to specify exact
        pronunciation using IPA notation.
      oneOf:
        - $ref: '#/components/schemas/PronunciationDictAliasItem'
        - $ref: '#/components/schemas/PronunciationDictPhonemeItem'
      discriminator:
        propertyName: type
        mapping:
          alias:
            $ref: '#/components/schemas/PronunciationDictAliasItem'
          phoneme:
            $ref: '#/components/schemas/PronunciationDictPhonemeItem'
    PronunciationDictAliasItem:
      type: object
      description: >-
        An alias pronunciation item. When the `text` value is found in input, it
        is replaced with the `alias` before speech synthesis.
      required:
        - text
        - type
        - alias
      additionalProperties: false
      properties:
        text:
          type: string
          description: >-
            The text to match in the input. Case-insensitive matching is used
            during synthesis.
          minLength: 1
          maxLength: 200
          example: Telnyx
        type:
          type: string
          description: The item type.
          enum:
            - alias
          example: alias
        alias:
          type: string
          description: The replacement text that will be spoken instead.
          minLength: 1
          maxLength: 500
          example: tel-nicks
    PronunciationDictPhonemeItem:
      type: object
      description: >-
        A phoneme pronunciation item. When the `text` value is found in input,
        it is pronounced using the specified IPA phoneme notation.
      required:
        - text
        - type
        - phoneme
        - alphabet
      additionalProperties: false
      properties:
        text:
          type: string
          description: >-
            The text to match in the input. Case-insensitive matching is used
            during synthesis.
          minLength: 1
          maxLength: 200
          example: Telnyx
        type:
          type: string
          description: The item type.
          enum:
            - phoneme
          example: phoneme
        phoneme:
          type: string
          description: The phoneme notation representing the desired pronunciation.
          minLength: 1
          maxLength: 500
          example: ˈtɛl.nɪks
        alphabet:
          type: string
          description: The phonetic alphabet used for the phoneme notation.
          enum:
            - ipa
          example: ipa
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Telnyx API v2 key. Obtain from https://portal.telnyx.com

````