Instant JSON import API

Import annotations, form fields, and form values into your PDF documents using our JSON import API, designed for speed, flexibility, and automation.

Fast, JSON-driven imports

Use a simple JSON structure to instantly add highlights, comments, form fields, and prefilled values to your PDFs. No complex tools or formats required.

Automate with Zapier

Automatically import JSON into new PDF files in Google Drive using our Zapier integration. Drop in a JSON file and a PDF file, and Nutrient will merge them on the fly.

Ideal for dynamic document workflows

Perfect for programmatically generating annotated PDFs, populating forms, or layering data onto documents in real time.


Try it out

This example will import Instant JSON with annotations into your PDF.


Try it out in three steps

  1. Add document.pdf and annotations.json to your project folder.
  2. Run the code from the same folder.
  3. Open result.pdf to see the output.
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer your_api_key_here" \
-o result.pdf \
--fail \
-F document=@annotations.pdf \
-F annotations.json=@annotations.json \
-F instructions='{
"parts": [
{
"file": "document"
}
],
"actions": [
{
"type": "applyInstantJson",
"file": "annotations.json"
}
]
}'

Start now

Create an account to access your API key and start with 50 free credits per month

Start building with DWS Processor API in minutes β€” no payment information required.

Already have an account? Sign in β†’

Instant JSON

We created Instant JSON to bring annotations, forms, and bookmarks into a modern format while keeping all important properties to make the Instant JSON specification work with PDF documents. The format is fully documented and can easily be converted to XFDF to make it interoperable.

Instant JSON annotation format


Security is our top priority

No document storage

No input or resulting documents are stored on our infrastructure. All files are deleted as soon as a request finishes. Alternatively, check out our self-hosted product.

HTTPS encryption

All communication between your application and Nutrient is done via HTTPS to ensure your data is encrypted when it’s sent to us.

Safe payment processing

All payments are handled by Paddle. Nutrient DWS Processor API never has direct access to any of your payment data.


Ready to try it?

Create an account to get your DWS Processor API key and start making API calls.