About this endpoint
What it does
Submits a video file for format conversion and starts an asynchronous job. The request uploads the source video and selects a target output format; the response returns a job identifier you can use to track the conversion.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video | String | Yes | Video file to convert. Binary upload. |
| persistent | Boolean | No | Whether the generated file should be persisted after processing. Default: false. |
| output_format | ENUM | Yes | Target output format. Allowed values: mp4, mkv, avi, mov, flv, 3gp, webm. |
Response
Returns a JSON object with a job_id string field. The job_id is a UUID you can use to poll the conversion job status.
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | No | Job identifier for the conversion task. Format: 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 from job_id.