Skip to main content
POST
Add a recording

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.

Path Parameters

projectId
string<uuid>
required

Project ID.

Body

application/json

The uploaded file to add as a recording, with how to process it.

recordingId
string<uuid>
required

The recordingId from the upload url.

fileName
string
required

The fileName you asked the upload url for: a name with an extension and no path, at most 255 characters.

Maximum string length: 255
Pattern: ^[^/\\\u0000]+\.[A-Za-z0-9]{2,5}$
sourceLanguage
string
required

Language spoken in the recording.

contentType
string

The contentType you asked the upload url for, when you sent one.

name
string

Name of the recording. Defaults to the file name without its extension.

Maximum string length: 255
expectedLanguages
string[]

Other languages that may be spoken.

subtitleProfiles
object

Subtitle profile id by language code, from GET /v1/subtitle-profiles.

glossaryId
string<uuid>

Glossary to apply, from GET /v1/glossaries.

numSpeakers
integer

Number of speakers, when you know it.

Required range: 1 <= x <= 5
ignoreTranscription
boolean

Keep the recording without transcribing it.

videoAnalysis
boolean

Analyse the video as well.

Response

The recording was added and transcription was queued

The recording that was added.

recordingId
string<uuid>
required

Recording ID.

statusUrl
string
required

Path to poll with GET until the transcription is done.