About this endpoint
What it does
Compresses a PowerPoint .pptx file and returns the resulting file as a binary response. The request accepts the source presentation plus optional compression controls for image DPI and speaker notes removal.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | The presentation file as binary data. Must be .pptx (not .ppt), not password-protected, up to 50 MB and 500 slides. |
| maxDpi | Number | No | Never keep pictures sharper than this many dpi. Minimum 48, maximum 300. |
| removeNotes | Boolean | No | Also remove speaker notes first. Default false. |
Response
Returns a binary file containing the compressed PowerPoint presentation. The success response is a binary payload rather than a JSON object.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Binary response body containing the compressed .pptx file. |



