About this endpoint
What it does
Uploads one or more PDF files and starts deskew processing for each file to correct small angle tilts. The response returns a job list with the processing status and progress for each submitted file.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| files | Object Array | Yes | PDF files to deskew. Each array item is a binary file. |
Response
Returns a JSON object with a jobs array field. Each item in jobs is an object containing job_id, filename, status, and progress for a submitted file.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| jobs | Object Array | Yes | Array of job objects created for the uploaded files. |
| jobs[].job_id | String | Yes | Job identifier. |
| jobs[].filename | String | Yes | Name of the submitted file. |
| jobs[].status | String | Yes | Current job status. |
| jobs[].progress | Integer | Yes | Current progress value. |
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 identifier from jobs[].job_id.