Prerequisites
Before you start, follow the steps in the guide to create a platform app and generate an access token. You also need:- A source PDF already stored in Box.
- A destination folder in Box that your app can write to.
- The page ranges for each output document.
What you configure
Each
{ start, end } pair creates one output document. Page numbers are 1-based and ranges are inclusive.
Example
You have a 14-page sales packet and want two files, one for the order summary on pages 1 to 5 and one for the exhibits and terms on pages 6 to 14. The correspondingsplit_definition is:
Create a manual split job
cURL
Best practices
- Use page ranges that do not overlap, so no page appears in more than one output document.
- Order your ranges by page number to match the reading order of the source PDF.
- Choose a manual split whenever the page numbers are already known, because the results are deterministic.
- Give destination folders meaningful names, such as
Splits / Customer A / 2026-07, so reviewers can find the output quickly.
When to use a smart split instead
Choose a when:- Break points are marked by QR codes or separator pages.
- You need to keep only certain types of content, such as signatures and ID proofs.
- Page ranges vary from file to file and are easier to describe than to calculate.
