---
title: "Add A Pronunciation Dictionary"
method: POST
path: "/v1/pronunciation-dictionaries/add-from-file"
tags: ["Pronunciation Dictionary"]
---

# Add A Pronunciation Dictionary

`POST /v1/pronunciation-dictionaries/add-from-file`

Creates a new pronunciation dictionary from a lexicon .PLS file

## Headers

- `xi-api-key` string, nullable — Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Response `200`

Successful Response

- AddPronunciationDictionaryResponseModel
  - `id` string, required — The ID of the created pronunciation dictionary.
  - `name` string, required — The name of the created pronunciation dictionary.
  - `created_by` string, required — The user ID of the creator of the pronunciation dictionary.
  - `creation_time_unix` integer, required — The creation time of the pronunciation dictionary in Unix timestamp.
  - `version_id` string, required — The ID of the created pronunciation dictionary version.
  - `version_rules_num` integer, required — The number of rules in the version of the pronunciation dictionary.
  - `description` string, nullable — The description of the pronunciation dictionary.
  - `permission_on_resource` 'admin' | 'editor' | 'commenter' | 'viewer', nullable, required — The permission on the resource of the pronunciation dictionary.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/revisions/f053c821dc18/schema)
