Zum Hauptinhalt springen

Split a PDF

POST 

/pdf/split

Cuts a PDF into several: every pages each, or one PDF per entry of ranges, each a page selection such as 1-3,5, or 4- for page 4 to the last. The answer is a render whose output is a ZIP of the parts, named after the source (contract-1.pdf, contract-2.pdf, …), or the PDF itself when the split yields one part. The source is a stored PDF named as source in a JSON body, or an upload: multipart/form-data with the PDF as file, up to the plan's output size and at most 100 MB, which is never stored. Costs 0.5 units on live keys; Starter plan and above (403 forbidden, feature: post_processing, below). A PDF/A answers 422 source_invalid, because the parts would keep a claim nobody checked; a password-protected PDF 422 source_encrypted. Needs render:create.

Request​

Responses​

The render; its output is zip, or pdf for a single part.