Use the steps below to run your first PDF accessibility auto-tagging request.

Prerequisites

Complete the prerequisites below before sending requests:

  1. Create an account in the DWS dashboard(opens in a new tab).
  2. Open the DWS Accessibility dashboard(opens in a new tab).
  3. Create or select an application, and then generate an API key.

Auto-tag a local PDF

Use a multipart upload request when the source PDF is local:

Terminal window
curl -X POST "https://api.nutrient.io/accessibility/autotag" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@document.pdf" \
--fail \
-o tagged.pdf

Auto-tag from a URL

Use JSON input when the source PDF is already hosted remotely:

Terminal window
curl -X POST "https://api.nutrient.io/accessibility/autotag" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file": { "url": "https://example.com/source.pdf" }
}' \
--fail \
-o tagged.pdf

Notes and limits

Keep the limits below in mind when planning integration:

  • Input must be a PDF document.
  • Maximum upload size is 150 MiB per file.
  • Auto-tagging reduces manual remediation work, but you should still review output quality in your QA process.

Next steps