About this endpoint
What it does
Compresses a PDF file that you upload and returns the compressed PDF as a binary file in the response.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | The PDF file to compress. Up to 20 MB. |
Response
Returns a binary file in the response body — the compressed PDF. The success response is a binary stream, not a JSON object.



