---
title: "Create a Voice Dictionary"
method: POST
path: "/v1/voice-agents/voice-dictionaries"
---

# Create a Voice Dictionary

`POST /v1/voice-agents/voice-dictionaries`

Creates a new voice dictionary with custom pronunciation rules.

## Request body

- CreateVoiceDictionaryRequest
  - `name` string, required — Name of the voice dictionary.
  - `words` object[], required — Array of word pronunciation mappings.
    - `word` string, required — The word to be replaced.
    - `pronunciation` string, required — The pronunciation or replacement text.

## Response `200`

Successful response

- CreateVoiceDictionaryResponse
  - `success` boolean
  - `message` string
  - `messageKey` string
  - `data` object
    - `id` string, uuid
    - `name` string
    - `words` object[]
      - `word` string
      - `pronunciation` string
    - `createdAt` string, date-time

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Server Side Error

---

[API](https://skmtc.net/tryhamsa/apis/hamsa-api.md) · [All operations](https://skmtc.net/tryhamsa/apis/hamsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryhamsa/hamsa-api/versions/ecbeb5d8dc13/schema)
