About this endpoint
What it does
Converts one or more PDF files into Word (.docx) files. You send the PDF files in the request body, and the response returns a batch identifier plus a list of per-file job records.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| files | String Array | Yes | PDF files to convert to Word. |
Response
Returns a JSON object with a batch_id string field and a jobs array field. Each item in jobs is an object containing job_id (string), filename (string), status (string), progress (integer), and batch_id (string).
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| batch_id | String | Yes | Parent id for this submit; also returned as X-Apy-Job-Id. |
| jobs | Object Array | Yes | List of child job records created for the submitted files. |
| jobs[].job_id | String | Yes | Job identifier for the individual file conversion. |
| jobs[].filename | String | Yes | Original filename for the submitted PDF file. |
| jobs[].status | String | Yes | Current job status. |
| jobs[].progress | Integer | Yes | Progress value for the job. |
| jobs[].batch_id | String | No | Parent batch id this child belongs to. |