Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Body

multipart/form-data

Request body for audio-to-text conversion.

file
file
required

Audio file to transcribe. Accepted MIME types: audio/mp3, audio/m4a, audio/wav, audio/amr, audio/mpga. Other types, including the common audio/mpeg, are rejected with unsupported_audio_type. Maximum size 30 MB.

user
string

End-user identifier, defined by your app and unique within it. See End User Identity.

Response

Successfully converted audio to text.

text
string

Output text from speech recognition.