Create a pronunciation dictionary

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

Creates a new pronunciation dictionary from a lexicon .PLS file

Request

This endpoint expects a multipart form containing an optional file.
namestringRequired

The name of the pronunciation dictionary, used for identification only.

filefileOptional

A lexicon .pls file which we will use to initialize the project with.

descriptionstringOptional

A description of the pronunciation dictionary, used for identification only.

workspace_accessenumOptional

Should be one of ‘admin’, ‘editor’ or ‘viewer’. If not provided, defaults to no access.

Allowed values: admineditorviewer

Response

Successful Response

idstring

The ID of the created pronunciation dictionary.

namestring

The name of the created pronunciation dictionary.

created_bystring

The user ID of the creator of the pronunciation dictionary.

creation_time_unixinteger

The creation time of the pronunciation dictionary in Unix timestamp.

version_idstring

The ID of the created pronunciation dictionary version.

descriptionstringOptional

The description of the pronunciation dictionary.

Errors

Built with