PDF tools

Split a PDF

Modes are extract, ranges, every_n and each_page. A split that makes one file returns the PDF. A split that makes several stores them and returns JSON with a link for each file and zip_url, a link to a ZIP of them all.

post/pdf/split

Request

  • Base URL: https://api.podpdf.com
  • URL: https://api.podpdf.com/pdf/split
  • Auth: API key in header X-API-Key

Response

The PDF when there is one output, or JSON when there are several, store is true or the PDF is over 4.4 MB

job_idstring
operation'pdf_merge' | 'pdf_split'
status'completed'
input_pagesinteger
output_countinteger
zip_urlstring uri nullable

Signed link to a ZIP of every output, valid one hour. Null when there is one output.

download_url_expires_atstring date-time
warningsstring[]

FORM_FIELDS_NOT_PRESERVED, SIGNATURE_INVALIDATED, BOOKMARKS_NOT_PRESERVED or XFA_FORM.

Example response

{
  "job_id": "9f0a4b78-2c0c-4d14-9b8b-123456789abc",
  "input_pages": 10,
  "output_count": 3,
  "outputs": [
    {
      "name": "scan-001.pdf",
      "pages": 3,
      "page_range": "1-3",
      "size_bytes": 91822
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.