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

# Add pronunciation dictionary rules



## OpenAPI

````yaml /api-reference/openapi.json post /v1/pronunciation-dictionaries/{id}/add-rules
openapi: 3.0.0
info:
  title: Zeptar API
  description: >-
    The Zeptar API is organized around REST. All requests and responses are
    JSON. Endpoints are scoped to the authenticated user’s active organization
    unless the path specifies an organization explicitly.
  version: v1
  contact: {}
servers:
  - url: https://api.zeptar.com
    description: Production
  - url: http://localhost:3001
    description: Local development
security: []
tags:
  - name: dashboard
    description: Workspace analytics dashboard
  - name: api-keys
    description: Create, list, update, and revoke API keys
  - name: request-log
    description: Browse, filter, and export the history of authenticated API requests
  - name: voices
    description: Voices available for speech synthesis
  - name: llm
    description: Large language models available for agents
  - name: convai/agents
    description: CRUD on conversational AI agents
  - name: convai/conversations
    description: Start a preview conversation against an agent
  - name: conversations
    description: Browse conversation history, transcripts, tags, and analysis
  - name: organizations
    description: List and look up workspaces (organizations)
  - name: organizations/members
    description: Add and remove members from an org
  - name: me
    description: The current authenticated user
  - name: me/workspace-invitations
    description: Pending workspace invites for the current user
paths:
  /v1/pronunciation-dictionaries/{id}/add-rules:
    post:
      tags:
        - Pronunciation Dictionaries
      summary: Add pronunciation dictionary rules
      operationId: PronunciationDictionariesController_addRules
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddRulesDto'
      responses:
        '201':
          description: ''
      security:
        - apiKey: []
        - cookie: []
components:
  schemas:
    AddRulesDto:
      type: object
      properties:
        rules:
          type: array
          items:
            $ref: '#/components/schemas/PronunciationRuleInputDto'
        label:
          type: string
      required:
        - rules
    PronunciationRuleInputDto:
      type: object
      properties:
        grapheme:
          type: string
        ruleType:
          type: string
          enum:
            - alias
            - phoneme
        alias:
          type: string
        phoneme:
          type: string
        alphabet:
          type: string
          enum:
            - ipa
            - cmu
      required:
        - grapheme
        - ruleType
  securitySchemes:
    apiKey:
      scheme: bearer
      bearerFormat: zsk_…
      type: http
      description: >-
        API key issued via `POST /v1/api-keys`. Prefix is `zsk_`. Pass as
        `Authorization: Bearer zsk_…`. Scopes are enforced per key.
    cookie:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: >-
        Session cookie set by `auth.api.signInEmail` (or the OAuth flow).
        Forwarded automatically by the browser; copy via `document.cookie` for
        server-to-server calls during development.

````