Flatten PDF
Rasterizes every page of a PDF into a flat image, making all text, form fields, links, and annotations non-interactive, and makes the flattened PDF available for download.
Endpoint
OAuth Scope
ZohoWriter.pdfEditor.ALLCopied!
curl --request POST \
--url https://www.zohoapis.com/pdfeditor/api/v1/pdf/flatten \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: multipart/form-data' \
-F 'file=@file_path' \
-F 'password=OpenSesame123'Request Body
multipart/form-datafilebinary(Required)
The source PDF to flatten, 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.
Example
quarterly-review.pdf
passwordstring(Optional)
The password to unlock the source PDF, if it is password-protected.
Example
OpenSesame123
Maximum Length :255255Copied!
// Note: payload contains multiple type attributes
// type: file
file = quarterly-review.pdf
// type: string
password = OpenSesame123 {
"status": "inprogress",
"status_check_url": "https://www.zohoapis.com/pdfeditor/api/v1/pdf/flatten/job/3f65c7592a741d98e46bf310cbe678f574a1d51fce306a8d9b6430217e538acd"
}
Rate Limits
Duration1 minute
Threshold50
Lock Period5 minutes 30 seconds
Duration1 hour
Threshold200
Lock Period15 minutes
Duration1 day
Threshold2000
Lock Period2 hours
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.