POST /api/pdf/merge & co.

Post-process generated PDFs in one API

Merge, split, rotate, compress, paginate, convert to PDF/A, extract text, and edit metadata — all hitting files already on the server. No re-uploads, no native dependencies.

Key points

1

Eight tools, one auth

merge / split / rotate / compress / page-numbers / to-pdfa / extract-text / metadata. Same Bearer token, same response shape.

2

Operates on server-side files

Pass a filename to act on a previously generated PDF. Use merge-upload (multipart) when you need to bring local files in.

3

Outputs are first-class PDFs

Tool outputs get download URLs, expiration, and download-limit settings — same operational policy as generated PDFs.

With this feature vs. without

Use the PDF tools APIRoll your own
Implementation costPOST and you're doneIntegrate PDFLib / qpdf / Ghostscript
DependenciesNone beyond an API keyNative libraries to install and patch
PDF/A conversionPass conformance: 1b/2b/3bManage Ghostscript profiles yourself
Best fitWeb/SaaS apps doing PDF post-processingOffline-only desktop tooling

How it looks in code

// Merge several already-generated PDFs into one
await fetch("/api/pdf/merge", {
  method: "POST",
  headers: { "Authorization": `Bearer ${API_KEY}` },
  body: JSON.stringify({ filenames: ["invoice.pdf", "receipt.pdf"] }),
});

// Or upload + merge files in one request
// POST /api/pdf/merge-upload (multipart/form-data)

// Other endpoints follow the same shape:
//   /api/pdf/split        — split by page ranges
//   /api/pdf/rotate       — rotate pages
//   /api/pdf/compress     — shrink file size
//   /api/pdf/page-numbers — stamp page numbers
//   /api/pdf/to-pdfa      — convert to PDF/A for archiving

Wire it into your workflow

Validate the integration on the Free plan, then scale up when you're ready.

Powered by FUNBREW PDF