REFERENCE
API endpoints.
Every REST endpoint with request/response shapes, status codes, and code samples in JS, Python, PHP, Ruby, and Go.
POST /api/v1/merge
Merge
Combine two or more PDFs into a single document. Optionally interleave pages in round-robin order.
POST /api/v1/split
Split
Split a PDF by ranges, by fixed chunk size, or one output per page.
POST /api/v1/extract-text
Extract text
Pull embedded text from a PDF. For scanned PDFs use /ocr.
POST /api/v1/extract-pages
Extract pages
Extract specific pages into a new PDF.
POST /api/v1/to-images
To images
Rasterize PDF pages as PNG / JPEG / WebP.
POST /api/v1/from-images
From images
Build a PDF from one or more PNG/JPEG images — one page per image.
POST /api/v1/ocr
OCR
Recognize text in scanned PDFs. 20 languages. Optionally produce a searchable-PDF output.
POST /api/v1/watermark
Watermark
Stamp a text or image watermark on any / all pages.
POST /api/v1/protect
Protect
Password-protect a PDF when verified encryption is available; production refuses unencrypted fallback output.
POST /api/v1/sign
Sign
Apply a visual signature (typed or image). For routed e-sign workflows, hand off to SignBolt.
POST /api/v1/fill-form
Fill form
Fill AcroForm fields by name. Unknown fields are returned so callers can diff against the PDF schema.
POST /api/v1/compress
Compress
Reduce file size with lossy image re-encoding and lossless stream compression.
POST /api/v1/rotate
Rotate
Rotate pages in 90-degree increments. Supports blanket angle or per-page map.
POST /api/v1/add-page-numbers
Add page numbers
Stamp page-number labels with custom templates and styles (arabic, roman, alpha).
POST /api/v1/metadata
Metadata
Read or update the PDF info dict (title, author, subject, keywords, producer, creator, dates).