Upload an audio file for transcription via multipart form data.
POSThttps://api.aitronos.com/v1/audio/files/upload
Upload an audio file directly to the API for use in transcription jobs. The file is validated for format and size, then stored and made available as a URL that can be passed to the Create Transcription endpoint.
- MP3 (
audio/mpeg) - WAV (
audio/wav) - M4A (
audio/mp4) - FLAC (
audio/flac) - OGG (
audio/ogg)
file file required
The audio file to upload. Must be one of the accepted formats listed above.
Returns a success envelope with the uploaded file details including a file URL that can be used with the Create Transcription endpoint.
cURL
- Bash
- Python
- Python
- JavaScript
curl -X POST https://api.aitronos.com/v1/audio/files/upload \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-F "file=@/path/to/recording.mp3"