Extract PDF Pages
Extracts selected pages from a PDF as a combined PDF, separate PDFs, or page images and makes the result available for download.
Endpoint
OAuth Scope
curl --request POST \
--url https://www.zohoapis.com/pdfeditor/api/v1/pdf/pages/extract \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: multipart/form-data' \
-F 'file=@file_path' \
-F 'input_options={
"page_ranges": [
"1,2,5"
],
"format": "pdf"
}' \
-F 'output_settings={
"name": "quarterly-review-extract",
"single_pdf": true
}'Request Body
multipart/form-dataThe source PDF from which to extract pages, uploaded directly or imported from a publicly accessible URL. The file must be no larger than 50 MB, contain no more than 400 pages, and have no page larger than 2,400 square inches. Its filename must not exceed 500 characters. Supported formats: pdf.
Configures which pages to extract and the generated file format.
{
"page_ranges": [
"1,2,5"
],
"format": "pdf"
}Show Sub-Attributes
One to 10 expressions identifying the pages to extract. Examples: ["1,2,5"], ["2-4,7-9"], ["-5"], and ["7-"]. A single expression can also be all, first, last, odd, or even.
[
"1,2,5"
]The format of the extracted pages. jpeg and png render each selected page as an image at 300 DPI.
Configures the generated filenames and PDF packaging behavior.
{
"name": "quarterly-review-extract",
"single_pdf": true
}Show Sub-Attributes
The base name used for the generated files and downloadable result.
Indicates whether all selected pages are combined into one PDF. When false, each selected page is generated as a separate PDF and the files are packaged in a ZIP archive. Applicable when input_options.format is pdf.
// Note: payload contains multiple type attributes
// type: file
file = quarterly-review.pdf
// type: object
input_options = {
"page_ranges": [
"1,2,5"
],
"format": "pdf"
}
// type: object
output_settings = {
"name": "quarterly-review-extract",
"single_pdf": true
} {
"status": "inprogress",
"status_check_url": "https://www.zohoapis.com/pdfeditor/api/v1/pdf/pages/extract/job/9f871d4a6be73c1927f84bd05e3a9c618be75a40f297cc4e867ac09138d4f926"
}
Rate Limits
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.