Skip to main content
POST
Transcribe audio (speech-to-text)

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Body

audio
file

Audio file to transcribe (max 25MB).

audioUrl
string

Download URL of an already hosted audio file.

language
string

ISO-639-1 language hint (e.g. "es", "en").

messageUid
string

Optional uid of the ChatMessage this audio refers to.

chatUid
string

Optional chat uid this transcript belongs to.

tenantId
string

Optional tenant id for multi-tenant environments.

Response

Audio transcribed successfully

transcriptId
string

Public identifier of the transcript. Send it back as transcriptId when posting the message so the conversation keeps a link to the audio.

text
string

Transcribed text.

language
string

Language hint used, if any.

audioUrl
string

Download URL of the source audio.

model
string

Transcription model used.