Skip to main content
POST
Read a pronunciation file

Authorizations

X-API-Key
string
header
required

Your Phrase Platform API token in the X-API-Key header. A missing, invalid or expired token is answered with 401. 403 means the token is valid but the action is not allowed for it.

Body

multipart/form-data
file
file
required

The file: .xlsx, .csv, .pls or .xml, at most 10 MB.

Response

What the file contains

What the file contains. Nothing is saved yet.

pairs
object[]
required

The pairs that were read.

invalidRows
object[]
required

Rows that could not be read (at most 500 are listed).

invalidRowCount
integer
required

Number of rows that could not be read.

warnings
string[]
required

Notes about the file, for example that a sheet was ignored.

suggestedName
string
required

A name that is free in your organization, taken from the file name.

languageCode
string

Language of the file, when the file says it.