Endpoint
Authentication
This endpoint requires an API key.Description
The Create Extraction Job endpoint queues a background job that:- Validates the request
- Downloads the video (if source is a URL)
- Analyzes video properties
- Extracts and converts audio
- Stores the output temporarily for download
Request Body
The request body must be JSON and include source and output objects.Required Fields
| Field | Type | Description |
|---|---|---|
source | object | Video input configuration |
output | object | Audio output configuration |
Optional Fields
| Field | Type | Description |
|---|---|---|
options | object | Job-level options (webhook, filename, priority) |
Source Object
Defines where the video comes from.| Field | Required | Description |
|---|---|---|
type | ✅ | url or upload |
url | ✅ (if type=url) | Public video URL |
file | ❌ | File identifier (upload – future) |
Output Object
Controls audio format and quality.| Field | Required | Description |
|---|---|---|
format | ✅ | mp3, aac, flac, wav, ogg, opus |
quality | ❌ | low, medium, high, extreme |
bitrate | ❌ | Custom bitrate (e.g. 192k) |
normalize | ❌ | Loudness normalization |
preserveMetadata | ❌ | Preserve original metadata |
bitrate is provided, it overrides quality.
Options Object
Optional job-level settings.| Field | Description |
|---|---|
filename | Custom output filename |
webhook | Webhook URL for job events |
priority | low, normal, high |
Example Requests
Basic MP3 Extraction
High-Quality FLAC with Metadata
Custom Bitrate MP3
Response
Success (202 Accepted)
| Field | Description |
|---|---|
jobId | Unique job identifier |
status | Initial job status |
estimatedTime | Estimated seconds to completion |
statusUrl | Endpoint to check progress |
Error Responses
400 – Bad Request
503 – Service Unavailable
Limits & Constraints
- Max file size: 5 GB
- Max URL length: 2048 characters
- Files retained: 24 hours
- Upload source: planned (not yet available)
Best Practices
- ✅ Prefer webhooks over polling
- 🔁 Retry failures with exponential backoff
- 📦 Use batch API for multiple files
- 🔐 Keep API keys secure
- ⏳ Expect longer processing for large videos
Next Step
Get Job Status
Track progress and retrieve job details.
© Converso Empire. All rights reserved.
