Split Document
Split or extract pages from a PDF document into one or more output files and return a temporary download URL.
Required scopes (OAuth 2.0)
Required scopes (OAuth 2.0)
pdf:filesAuthorizations
Provide your API key in the X-API-Key header, e.g., X-API-Key: YOUR_API_KEY.
Body
Split method.
ranges— Extract specific page ranges into separate files.fixed_size— Split into parts of a fixed number of pages.
ranges, fixed_size Lumin document ID of the PDF to split.
Required when file_url is not provided. Takes priority if both are provided.
To obtain a document ID, upload the file to Lumin first using Upload Document.
Publicly accessible URL of the PDF file to split.
Required when document_id is not provided. Ignored if document_id is also provided.
List of page range expressions. Each entry produces one output file.
Required when method is ranges.
Number of pages per output file.
Required when method is fixed_size. Must not produce more than 10,000 output files.
x >= 1Base name for the output files. Defaults to extracted_{original document name}.
1 - 255Response
Returns a temporary download URL for the split result (PDF or ZIP).