About this endpoint
What it does
Submits an async job to extract audio from a video at a source URL. It returns a job identifier immediately so you can poll for completion separately.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| persistent | Boolean | No | Controls whether the job is persistent. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video_url | String | Yes | The source video URL. Must be a URI. |
| duration | String | No | Clip length in seconds. Default 2 unless full_audio is true. |
| full_audio | Boolean | No | When true, extract from start_time to end of file. Default false. |
| start_time | String | No | Seek offset in seconds (non-negative integer as a string). Default 0. |
| output_format | ENUM | No | Output audio format. Allowed values: mp3, wav, aac, ogg, flac, wma, ac3. Default mp3. |
Response
Returns a JSON object with a job_id string field — a UUID job identifier used for status polling.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | Job identifier for status polling. Must be a UUID. |
Notes
This endpoint kicks off an async job and returns immediately with a job identifier; the actual work runs in the background. Pair this call with the corresponding job_check endpoint — poll that until the status reaches a terminal state to retrieve the result. Extract the job_id value from the response body.