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

# Create

> Create a new pronunciation dictionary



## OpenAPI

````yaml latest.yml POST /pronunciation-dicts/
openapi: 3.0.1
info:
  title: Cartesia API
  version: 0.0.1
servers:
  - url: https://api.cartesia.ai
    description: Production
security: []
paths:
  /pronunciation-dicts/:
    post:
      tags:
        - PronunciationDicts
      description: Create a new pronunciation dictionary
      operationId: pronunciationDicts_create
      parameters:
        - $ref: '#/components/parameters/CartesiaVersionHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePronunciationDictRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PronunciationDict'
      security:
        - APIKeyAuth: []
components:
  parameters:
    CartesiaVersionHeader:
      name: Cartesia-Version
      in: header
      description: API version header.
      required: true
      schema:
        type: string
        format: date
        example: '2026-08-14'
        default: '2026-08-14'
        enum:
          - '2026-08-14'
  schemas:
    CreatePronunciationDictRequest:
      title: CreatePronunciationDictRequest
      type: object
      description: Request to create a new pronunciation dictionary
      properties:
        name:
          type: string
          description: Name for the new pronunciation dictionary
        description:
          type: string
          description: An optional description for the pronunciation dictionary.
          default: ''
        items:
          type: array
          items:
            $ref: '#/components/schemas/PronunciationDictItem'
          nullable: true
          description: Optional initial list of pronunciation mappings
        access:
          description: >-
            Controls who can access this resource. Prefer `"public"` |
            `"private"`. Deprecated nested `{ "type": "public" | "private" }` is
            still accepted.
          oneOf:
            - type: string
              enum:
                - private
                - public
              description: >-
                Set to `"public"` to let any Cartesia user with the resource ID
                use it, or `"private"` to restrict it to your organization.
            - type: object
              deprecated: true
              description: >-
                Deprecated. Prefer a top-level `access` string (`"public"` |
                `"private"`).
              properties:
                type:
                  type: string
                  enum:
                    - private
                    - public
                  description: >-
                    Set to `"public"` to let any Cartesia user with the resource
                    ID use it, or `"private"` to restrict it to your
                    organization.
              required:
                - type
      required:
        - name
    PronunciationDict:
      title: PronunciationDict
      type: object
      description: A dictionary of text-to-pronunciation mappings
      properties:
        id:
          type: string
          description: Unique identifier for the pronunciation dictionary
        name:
          type: string
          description: Name of the pronunciation dictionary
        description:
          type: string
          description: Description of the pronunciation dictionary
        is_owner:
          type: boolean
          description: Whether your organization owns the pronunciation dictionary.
        access:
          type: string
          enum:
            - private
            - public
          description: >-
            Who can use the resource. `private` means only the owner can use the
            resource. `public` means everyone can use the resource.
        pinned:
          type: boolean
          description: Whether this dictionary is pinned for the user
        items:
          type: array
          items:
            $ref: '#/components/schemas/PronunciationDictItem'
          description: List of text-to-pronunciation mappings
        created_at:
          type: string
          description: ISO 8601 timestamp of when the dictionary was created
        visibility:
          type: string
          enum:
            - owner
            - all
          description: >-
            When the resource is returned by the list endpoint. `owner` means
            the resource appears for the owner only. `all` means the resource
            appears for all users.
      required:
        - id
        - name
        - description
        - is_owner
        - pinned
        - access
        - visibility
        - items
        - created_at
      example:
        id: pdict_123
        name: Acme
        description: An example dictionary
        is_owner: true
        pinned: false
        access: private
        items:
          - text: acme
            pronunciation: <<ˈ|æ|k|m|i>>
            case_sensitive: false
        created_at: '2025-10-27T14:54:26.68581Z'
        visibility: owner
    PronunciationDictItem:
      title: PronunciationDictItem
      type: object
      description: A pronunciation dictionary item mapping text to a custom pronunciation
      properties:
        text:
          type: string
          description: The original text to be replaced
        pronunciation:
          type: string
          description: >-
            A phonetic representation or text to be said in place of the
            original text
        case_sensitive:
          type: boolean
          default: false
          description: >-
            When false (default), match every capitalization of `text` on Sonic
            3.6+. When true, a lowercase key also matches sentence-start
            capitalization (`cat`/`Cat`, not `CAT`).
      required:
        - text
        - pronunciation
  securitySchemes:
    APIKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Cartesia API key (`sk_car_...`). Get one at
        [play.cartesia.ai/keys](https://play.cartesia.ai/keys).
      x-default: $CARTESIA_API_KEY

````