Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Name, unique in the organization

Required string length: 1 - 100
Example:

"Brand names"

language
string
required

BCP 47 language tag, such as en-US, en-GB or hi-IN. Fixed once the list exists: make a separate list per language or accent.

Required string length: 2 - 35
Pattern: ^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$
Example:

"en-US"

description
string | null

Optional note on what the list covers

Required string length: 1 - 500
entries
object[]

The words to score, at most 500, in the order to show them. Each word can be listed once (case does not matter).

Maximum array length: 500

Response

The created list, with its words

data
object
required

A pronunciation list: the words a pronunciation metric checks the agent says the way they should sound. Lists belong to the organization, so every project in it can use them.