XFDF import API

Import annotations, form fields, and form values into your PDF documents with our XFDF API.

Import annotations and form data

Seamlessly bring in highlights, comments, form field definitions, and field values using the XFDF (XML Forms Data Format) standard.

Automate with Zapier

Automatically import XFDF annotations into PDF files using our Zapier integration. Just upload the XFDF and PDF to Google Drive. Nutrient handles the merge without manual intervention.

Streamline document automation

Perfect for workflows that involve form prefilling, automated review comments, or importing markup from external systems.


Try it out

This example will import an XFDF file with annotations into your PDF.


Try it out in three steps

  1. Add a PDF named annotations.pdf and an XFDF file named annotations.xfdf 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.xfdf=@annotations.xfdf \
-F instructions='{
"parts": [
{
"file": "document"
}
],
"actions": [
{
"type": "applyXfdf",
"file": "annotations.xfdf"
}
]
}'

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 β†’


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.