How to fill a PDF form using Instant JSON
![]()
PSPDFKit Processor has been deprecated and replaced by Document Engine. To migrate to Document Engine and unlock advanced document processing capabilities, refer to our migration guide. Learn more about these enhancements on our blog.
Follow the steps in this guide to fill a PDF form using an Instant JSON file with PSPDFKit Processor.
-
Create a new Instant JSON file. You can see an example of an Instant JSON file here.
-
Add the values for the various form fields to a top-level
formFieldValues
field in the Instant JSON file, like so:
{ "annotations": [...], "formFields": [...], "format": "https://pspdfkit.com/instant-json/v1", "formFieldValues": [ { "name": "Client Address", "type": "pspdfkit/form-field-value", "v": 1, "value": "An address" }, { "name": "Client ZIP", "type": "pspdfkit/form-field-value", "v": 1, "value": "333333" }, { "name": "Check Box 11", "type": "pspdfkit/form-field-value", "v": 1, "value": ["Yes"] }, { "name": "Check Box 17", "type": "pspdfkit/form-field-value", "v": 1, "value": ["Yes"] }, ... ] }
-
Follow the instructions in the import Instant JSON guide to import the Instant JSON file containing the new
formFieldValues
to the PDF document using PSPDFKit Processor’s/build
endpoint.