DEV Community

Cover image for We built a Zapier integration for our Compress PDF API — test it via our public beta link!
Chandan Singh
Chandan Singh

Posted on Originally published at editpdf.tools

We built a Zapier integration for our Compress PDF API — test it via our public beta link!

While building editpdf.tools, our 14 free tools & editpdf paid feature were designed to run 100% client-side in the browser with zero file uploads, except editpdf monthly paid plan.

However, developers and ops teams kept asking for a way to shrink everyday PDFs (invoices, signed contracts, KYC forms) automatically inside backend pipelines and no-code workflows—especially when a 1.5 MB PDF needs to get under a strict 100 KB or 500 KB portal limit.

So we shipped our Compress PDF REST API (https://editpdf.tools/compress-pdf-api), and this week we wrapped it into a native Zapier integration (currently in Zapier’s review queue).

Try the Zapier Integration (Public Beta Invite)

You can add the editpdf.tools app directly to your Zapier account right now using our official beta invite link:
👉 Accept Zapier Beta Invite

How the API & Zapier Action work under the hood

Unlike our browser tools, an API naturally receives the file over HTTPS. To keep our privacy standards intact:

  1. Your Zap (or curl / Python / Node.js script) sends the PDF to our endpoint with your X-API-Key.
  2. You can choose between Structure mode (lossless stream/object compression, keeps text selectable) or Rasterize mode (for scanned PDFs).
  3. File Size Limits:
    • Via Zapier Integration: Up to 2 MB per PDF (ideal for invoices, receipts, IDs, offer letters, and application forms).
    • Via Direct REST API (curl / Python / Node.js): Up to 10 MB per PDF on the free tier.
  4. The file is processed in an isolated container and returned immediately—never saved to permanent storage.

Quick curl check (if you prefer code over Zapier):


bash
curl -X POST [https://api.editpdf.tools/v1/compress](https://api.editpdf.tools/v1/compress) \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "file=@invoice.pdf" \
  -o compressed.pdf
Enter fullscreen mode Exit fullscreen mode

Top comments (0)