PDF/UA · API documentation
Documentation
Add PDF/UA accessibility to your product with three predictable HTTP calls.
POST
/pdf/upload{
"successfulUploads": [
"7c2f1e4a…e1c40"
]
}- 01Upload
caseId - 02Remediate
completed - 03Download
PDF/UA
The integration contract
From API key to PDF/UA in three predictable steps
One base URL, one authentication header, and one case ID connect the entire workflow.
Copy, paste, ship
Your first upload is ready to run
Choose your stack. Every sample calls the same endpoint and returns the case ID used by the rest of the API.
- Set ACCESSFUL_API_KEY
- Place document.pdf in your working directory
- Run the sample and keep successfulUploads[0]
: "${ACCESSFUL_API_KEY:?Set ACCESSFUL_API_KEY first}"
curl --fail-with-body \ -X POST "https://api.accessful.de/api/v1/upload-service/pdf/upload" \ -H "X-API-Key: $ACCESSFUL_API_KEY" \ -F "files=@document.pdf"import { openAsBlob } from 'node:fs';
const apiKey = process.env.ACCESSFUL_API_KEY;if (!apiKey) throw new Error('Set ACCESSFUL_API_KEY first');
const file = await openAsBlob('document.pdf', { type: 'application/pdf',});const body = new FormData();body.append('files', file, 'document.pdf');
const response = await fetch( 'https://api.accessful.de/api/v1/upload-service/pdf/upload', { method: 'POST', headers: { 'X-API-Key': apiKey }, body, },);
if (!response.ok) throw new Error(await response.text());console.log(await response.json());# pip install requestsimport osimport requests
url = "https://api.accessful.de/api/v1/upload-service/pdf/upload"headers = {"X-API-Key": os.environ["ACCESSFUL_API_KEY"]}
with open("document.pdf", "rb") as pdf: response = requests.post( url, headers=headers, files={"files": ("document.pdf", pdf, "application/pdf")}, timeout=60, )
response.raise_for_status()print(response.json())200 OK
successfulUploads[0] → caseIdChoose your next step
Go from first request to production without hunting
Each path starts where you are and takes you directly to the detail you need.
Quickstart
Run upload → status → download end to end.
Open quickstartLive API tester
Convert a real PDF from the browser with your own key.
Try it liveAPI reference
Inspect every endpoint, field, response, and status code.
Browse endpointsWebhooks
Replace polling with signed, event-driven callbacks.
Configure webhooks