Send one section of a long PDF, not the whole file
A 90-page report is too big to email and too much to read. How to send only the pages someone needs, from a no-code tool or your own code, with one extract call.
A board pack, a 90-page inspection report, a year of bank statements. The person you are sending it to needs three pages. Sending all of it means a big attachment, a bounce from the mail server, and a reader who cannot find the part that matters.
Extract, then send
The PDF Extract Pages API takes the long file and a page list, and returns a new PDF with only those pages:
curl https://api.justapi.tech/v1/pdf/extract-pages \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{"source": {"url": "https://files.example.com/inspection-2026.pdf"}, "options": {"pages": "1,34-36"}}'
The response has result.url, a signed download link valid for 24 hours. Attach the file, or send the link.
Where the page numbers come from
In most workflows someone already knows the pages. A few patterns:
- Fixed layout. Your own generated reports always have the summary on page 1 and the findings on pages 2 to 4. Hard-code the list.
- A person picks. Show page thumbnails in your app (render them with the PDF to Image API) and send the numbers they tick.
- From the table of contents. If your report generator knows where each section starts, store those numbers with the file.
In a no-code tool
In Bubble, Make or Zapier, it is one HTTP call with a JSON body. Put the file URL in source.url and the page list in options.pages, as text. The result URL goes straight into your email step.
Make it smaller still
Extracted pages keep their original images. If the section is still too big for email, chain a PDF compression call on result.file_id: earlier results can be used as a source without downloading them first.
Cost
$0.005 per extraction at the first tier, whatever the size of the original. A failure, like a page number past the end, costs nothing.
For a one-off, the free page extractor does it in the browser.