About this endpoint
What it does
Converts an uploaded office document with LibreOffice and returns the converted file as binary output. The input is an uploaded file plus an optional target output format.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | The uploaded office document to convert. Binary file upload. |
| target_format | String | No | Output format extension. Default: pdf. Examples include pdf, docx, and txt. |
Response
Returns a binary file as the response body. The output schema is a single binary string, so there is no JSON wrapper or named response field.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| response body | String | Yes | Converted document file content returned as binary data. |