Getting started with DWS Accessibility API
Use the steps below to run your first PDF accessibility auto-tagging request.
Prerequisites
Complete the prerequisites below before sending requests:
- Create an account in the DWS dashboard(opens in a new tab).
- Open the DWS Accessibility dashboard(opens in a new tab).
- 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:
curl -X POST "https://api.nutrient.io/accessibility/autotag" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "file=@document.pdf" \ --fail \ -o tagged.pdfAuto-tag from a URL
Use JSON input when the source PDF is already hosted remotely:
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.pdfNotes 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
- Refer to the auto-tagging guide for implementation details.
- Refer to the accessibility best practices guide before production rollout.
- Refer to the pricing guide to size monthly quotas.