Set PDF Form Data
Fills existing form fields in a PDF with the given values, and makes the filled PDF available for download.
Endpoint
OAuth Scope
curl --request POST \
--url https://www.zohoapis.com/pdfeditor/api/v1/pdf/formdata/set \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: multipart/form-data' \
-F 'file=@file_path' \
-F 'input_options={
"form_data": "{\"Given Name\":\"Amelia\",\"Family Name\":\"TL\",\"Postcode\":\"123456\",\"Make_RadioButton\":\"Option1\",\"Box1_CheckBox\":\"Yes\",\"Box3_CheckBox\":\"No\",\"Country\":\"India\",\"City\":\"Chennai\"}"
}' \
-F 'password=OpenSesame123'Request Body
multipart/form-dataThe source PDF to fill, 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. The PDF must contain a fillable form. Supported formats: pdf.
Configures the form field values to fill in.
{
"form_data": "{\"Given Name\":\"Amelia\",\"Family Name\":\"TL\",\"Postcode\":\"123456\",\"Make_RadioButton\":\"Option1\",\"Box1_CheckBox\":\"Yes\",\"Box3_CheckBox\":\"No\",\"Country\":\"India\",\"City\":\"Chennai\"}"
}Show Sub-Attributes
The values to fill in, as a JSON-encoded string that maps each form field name to its value. Every field name must already exist in the PDF's form, or the request fails.
The password to unlock the source PDF, if it is password-protected.
// Note: payload contains multiple type attributes
// type: file
file = registration-form.pdf
// type: object
input_options = {
"form_data": "{\"Given Name\":\"Amelia\",\"Family Name\":\"TL\",\"Postcode\":\"123456\",\"Make_RadioButton\":\"Option1\",\"Box1_CheckBox\":\"Yes\",\"Box3_CheckBox\":\"No\",\"Country\":\"India\",\"City\":\"Chennai\"}"
}
// type: string
password = OpenSesame123 {
"status": "inprogress",
"status_check_url": "https://www.zohoapis.com/pdfeditor/api/v1/pdf/formdata/set/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.