About this endpoint
What it does
Converts one or more uploaded Word files (.docx, .doc, .rtf, .odt) to PDF. The request uploads the files in the body, and the response returns a batch identifier plus per-file job records for the conversion run.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| files | String Array | Yes | Word files (.docx, .doc, .rtf, .odt) to convert to PDF. |
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 | Array of child job records for the submitted files. |
| jobs[].job_id | String | Yes | Job identifier for the individual conversion task. |
| jobs[].filename | String | Yes | Output filename for the converted PDF. |
| jobs[].status | String | Yes | Status of the individual job. |
| jobs[].progress | Integer | Yes | Progress value for the individual job. |
| jobs[].batch_id | String | No | Parent batch id this child belongs to. |