Skip to main content
POST
Split a PDF

Phase

Phase 2

Request

object
required
The PDF to split. One of:
  • { "pdf_id": "pdf_abc123" }
  • { "url": "https://example.com/doc.pdf" }
  • { "base64": "JVBERi0x..." }
array
required
Array of page range strings. Each range produces one output PDF.
  • ["1", "2", "3"] — splits into individual pages
  • ["1-3", "4-6", "7-10"] — splits into chunks
  • ["1,3,5", "2,4,6"] — cherry-pick pages into groups
string
default:"url"
url or base64.
object
Metadata applied to all output PDFs.

Response

Example