Skip to main content
POST
Merge PDFs

Phase

Phase 2 — Ships after launch, only if there’s customer demand.

Request

array
required
Ordered list of PDFs to merge. Each source can be:
  • A PDFBase PDF ID: { "pdf_id": "pdf_abc123" }
  • A URL to a PDF: { "url": "https://example.com/doc.pdf" }
  • A base64-encoded PDF: { "base64": "JVBERi0x..." }
Min: 2 sources. Max: 50 sources.
array
Optional per-source page selection. Same length as sources. Each entry is a string like "1-3,5,8-10" or null for all pages.
string
default:"url"
url or base64.
string
default:"none"
Compression for the merged output.
object
Metadata for the merged PDF.

Response

Example