Endpoint
⚠️ Files are only available for 24 hours after job completion.
Authentication
This endpoint requires a valid API key:401 Unauthorized.
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
jobId | string | ✅ | Unique identifier returned from the Create Extraction Job endpoint |
Example: job_a1b2c3d4e5f6g7h8
Response
The endpoint returns the audio file directly. TheContent-Type matches the requested output format.
Supported Audio Formats
| Format | Content-Type | Description |
|---|---|---|
| MP3 | audio/mpeg | MPEG Layer III |
| AAC | audio/aac | Advanced Audio Coding |
| FLAC | audio/flac | Lossless audio |
| WAV | audio/wav | Uncompressed |
| OGG | audio/ogg | Ogg Vorbis |
| OPUS | audio/opus | Opus codec |
Response Headers
| Header | Description |
|---|---|
Content-Disposition | Contains the filename, e.g., attachment; filename="my-audio-file.mp3" |
Content-Type | Audio MIME type (audio/mpeg, audio/flac, etc.) |
Content-Length | Size of the file in bytes |
Example Request
-o option saves the audio file locally.
Example Response – Success
- HTTP 200 OK
- Binary audio content streamed directly to client
- Headers indicate filename, content type, and length
Example Response – Job Not Completed
- HTTP 202 Accepted
Example Response – File Expired
- HTTP 410 Gone
Example Response – Job Not Found
- HTTP 404 Not Found
Best Practices
- Always check status before downloading; only completed jobs are available.
- Use the
statusUrlfrom the job creation response to confirm completion. - Consider streaming large files instead of downloading entirely in memory.
- Save files locally immediately; files are removed after 24 hours.
- Handle errors gracefully (
JOB_NOT_COMPLETED,FILE_EXPIRED,JOB_NOT_FOUND).
Next Step
Batch Processing
Process multiple audio extraction jobs in a single request.
© Converso Empire. All rights reserved.
