About this endpoint
What it does
Converts an uploaded Office or text file to a PDF document and returns the resulting PDF as binary output.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Binary file input. Supported formats: doc, docx, odt, rtf, txt, xls, xlsx, ods, csv, ppt, pptx, or odp. |
| pdfa | ENUM | No | Archival output format. Allowed values: PDF/A-1b, PDF/A-2b, PDF/A-3b. |
| landscape | Boolean | No | Landscape pages. Default: false. |
Response
Returns a binary PDF file as the successful response body.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary | String | Yes | The generated PDF file content returned as binary data. |



