About this endpoint
What it does
Submits a video file for compression as an asynchronous job and returns a job identifier immediately. The request includes the source video file and can optionally set whether the job is persistent.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| persistent | Boolean | No | Whether the submitted job is persistent. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video | String | Yes | Source video file. Binary file upload. |
| compression_percentage | String | No | Integer 0–100. Omitted or empty defaults to 50. Invalid non-numeric or out-of-range values return 400. |
Response
Returns a JSON object with a required job_id string field — a UUID job identifier for status polling. The endpoint returns the job identifier directly at the top level, not wrapped in data.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | Job identifier for status polling. UUID format. |
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 field from the top-level response.