PDF annotations API

Programmatically import annotations into your PDF documents with our Instant JSON import API.

Flexible, JSON-driven markup

Add highlights, sticky notes, text boxes, shapes, and more with precise control over position, color, and page placement using a simple JSON format.

Automate with Zapier

Automatically add annotations to PDF files in Google Drive using our Zapier integration. Just supply your annotation instructions in JSON, and the Nutrient API takes care of the rest.

No manual editing needed

Automate the annotation process across entire document workflows. Perfect for feedback loops, quality control, or digital signing preparation.


Try it out

This example will import Instant JSON with annotations to PDF.


Try it out in three steps

  1. Add annotations.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=@document.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

The Instant JSON format is the native annotation format of the Nutrient API, and it defines an extensive number of annotation types and properties for your documents. Use this format to programmatically generate robust, feature-rich annotations for your documents.

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.