Duplicate PDF Pages
Duplicates selected pages of a PDF at a configurable position, and makes the modified PDF available for download.
Endpoint
OAuth Scope
curl --request POST \
--url https://www.zohoapis.com/pdfeditor/api/v1/pdf/pages/duplicate \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: multipart/form-data' \
-F 'file=@file_path' \
-F 'input_options=[
{
"page_range": "2-4",
"insert_at": 0
}
]' \
-F 'password=OpenSesame123'Request Body
multipart/form-dataThe source PDF whose pages are duplicated, 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 255 characters. Supported formats: pdf.
One or more duplication instructions applied to the source PDF.
[
{
"page_range": "2-4",
"insert_at": 0
}
]Show Sub-Attributes
The pages to duplicate. Accepts all, odd, even, first, last, or a comma-separated list of page numbers and ranges (e.g. 1,3-5).
Where the duplicated pages are placed in the resulting document. 0 inserts each duplicate immediately after its original page. -1 appends all duplicates at the end of the document. Any other value inserts the duplicated pages as a contiguous block starting at that 1-based page position.
The password to unlock the source PDF, if it is password-protected.
// Note: payload contains multiple type attributes
// type: file
file = quarterly-review.pdf
// type: array
input_options = [
{
"page_range": "2-4",
"insert_at": 0
}
]
// type: string
password = OpenSesame123 {
"status": "inprogress",
"status_check_url": "https://www.zohoapis.com/pdfeditor/api/v1/pdf/pages/duplicate/job/3f65c7592a741d98e46bf310cbe678f574a1d51fce306a8d9b6430217e538acd"
}
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.