apyhub
Back
▣ INGESTION KIT · OUTPUT KIT

Compress PowerPoint (PPTX) File API

What it does

PowerPoint Compressor reduces the size of a .pptx presentation while keeping it editable. Send a presentation file and, optionally, set maxDpi to cap image resolution or set removeNotes to strip speaker notes before compression.

Use it when you need to make slide decks easier to email, upload, or store without changing them into another format. It accepts presentations up to 50 MB and 500 slides, and it only works with .pptx files that are not password-protected.

The response is the compressed PowerPoint file as binary output, so you can pass it straight into your storage, download, or delivery flow. That makes it useful for document pipelines, internal tooling, and apps that need to reduce deck size before sharing.

If you already handle presentation uploads, PowerPoint Compressor gives you a simple way to trim file size before the file reaches users, reviewers, or downstream systems.

POST
Compress a PowerPoint (Default level)
https://api.eu.apyhub.com/freedailypro/compress-powerpoint-file

QUICKSTART

GUIDE

Quickstart

Compress a PowerPoint file by uploading a .pptx presentation.

curl -X POST "https://api.eu.apyhub.com/freedailypro/compress-powerpoint-file" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/presentation.pptx"

What you'll get back

Returns a binary file (string with format: "binary"), typically the compressed .pptx download.

TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
The presentation (.pptx; not .ppt, not password-protected). Up to 50 MB and 500 slides.
Never keep pictures sharper than this many dpi, 48 to 300.
Also remove speaker notes first. Default false.

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

ParameterTypeMandatoryDescription
fileStringYesThe presentation file as binary data. Must be .pptx (not .ppt), not password-protected, up to 50 MB and 500 slides.
maxDpiNumberNoNever keep pictures sharper than this many dpi. Minimum 48, maximum 300.
removeNotesBooleanNoAlso 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.

ParameterTypeMandatoryDescription
fileStringYesBinary response body containing the compressed .pptx file.

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.