Add Images to PDF
Adds images to selected pages of a PDF and makes the modified PDF available for download.
Image Placement: Each item in image_files corresponds by position to an item in input_options. Provide at least one placement-options item for every uploaded image.
Endpoint
OAuth Scope
curl --request POST \
--url https://www.zohoapis.com/pdfeditor/api/v1/pdf/addimages \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: multipart/form-data' \
-F 'file=@file_path' \
-F 'image_files=approved-stamp.png' \
-F 'input_options=[
[
{
"page_ranges": "1,3-5",
"image_rect": {
"top": "48px",
"left": "72px",
"width": "160px",
"height": "80px"
},
"odd_or_even_pages": "odd"
}
]
]' \
-F 'output_settings={
"name": "Quarterly Review Approved.pdf"
}'Request Body
multipart/form-dataThe source PDF to modify, 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.
The images to place in the PDF, uploaded directly or imported from publicly accessible URLs. Provide between 1 and 10 files, each no larger than 10 MB and with a filename not exceeding 255 characters. Supported formats: jpg, jpeg, png.
[
"approved-stamp.png"
]The image-placement groups. Provide between 1 and 10 groups.
[
[
{
"page_ranges": "1,3-5",
"image_rect": {
"top": "48px",
"left": "72px",
"width": "160px",
"height": "80px"
},
"odd_or_even_pages": "odd"
}
]
]Configures the name of the modified PDF.
{
"name": "Quarterly Review Approved.pdf"
}Show Sub-Attributes
The name to assign to the modified PDF. The .pdf extension is appended when it is omitted.
// Note: payload contains multiple type attributes
// type: file
file = quarterly-review.pdf
// type: array[file]
image_files = [
"approved-stamp.png"
]
// type: array
input_options = [
[
{
"page_ranges": "1,3-5",
"image_rect": {
"top": "48px",
"left": "72px",
"width": "160px",
"height": "80px"
},
"odd_or_even_pages": "odd"
}
]
]
// type: object
output_settings = {
"name": "Quarterly Review Approved.pdf"
} {
"status": "inprogress",
"status_check_url": "https://www.zohoapis.com/pdfeditor/api/v1/pdf/addimages/job/qE8Vn4M2kP7sR9xW"
}
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.