Docs / Tools / merge-pdf

Merge PDF API

Combine multiple PDFs into one document in upload order.

Web UI: Merge PDF

Authentication

Bearer API key required on every request.

Request

POST https://api.omnicap.app/v1/merge-pdf

Content-Type: multipart/form-data

  • file (file, required, multiple)

    Two or more PDF files (repeat the field).

  • password (string)

    Password for encrypted source PDFs.

Response

Mode: sync — binary file body

Headers: X-Page-Count, Content-Disposition

Examples

curl

curl -X POST "https://api.omnicap.app/v1/merge-pdf" \
  -H "Authorization: Bearer $OMNICAP_API_KEY" \
  -F "file=@/path/to/file1.pdf"

Node.js (fetch)

const form = new FormData();
form.append("file", fileBlob, "document.pdf");

const res = await fetch("https://api.omnicap.app/v1/merge-pdf", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.OMNICAP_API_KEY}` },
  body: form,
});
const out = await res.arrayBuffer();

Billing

1 billable unit(s) per successful call.

Changelog

  • 2026-03-28: Initial public release.