In short
Yes — Redact PDF AI offers a REST API to redact PDFs and images programmatically. You POST a document, the API detects PII with AI (names, emails, IBANs, and more) plus OCR for scans, and you can pass terms to always redact or keep visible. It then returns an irreversible, flattened redacted file. The API is available on every plan and uses the same page quota as your web app subscription or credit balance.
curl -X GET \
'https://www.redact-pdf.ai/v1/me' \
-H 'X-API-Key: YOUR_API_KEY'curl -X POST \
'https://www.redact-pdf.ai/v1/jobs' \
-H 'X-API-Key: YOUR_API_KEY' \
-F 'files=@contract.pdf;type=application/pdf' \
-F 'pii_categories=["Person","Email","PhoneNumber"]' \
-F 'pii_included_terms=["Project Titan"]' \
-F 'pii_excluded_terms=["Acme Corp"]' \
-F 'retention=ephemeral'{
"job_id": "b3f2b2e0-6f30-4f3e-8a7b-2f2a20a7d91c",
"status": "analyzing",
"documents": [
{ "id": "7f4f4f85-6b7a-4f88-9a8a-7b9a6a2d2fd0", "status": "uploaded" }
]
}{
"error": "Insufficient quota",
"code": "quota_exceeded",
"request_id": "req_123"
}| Category | What it targets |
|---|---|
| Person | People names |
| Email addresses | |
| PhoneNumber | Phone numbers (validated patterns) |
| Address | Postal addresses |
| Organization | Company / organization names |
| Date | Dates and date-times |
| IBAN | International bank account numbers |
| CreditCard | Credit card numbers |
curl -X GET \
'https://www.redact-pdf.ai/v1/jobs/b3f2b2e0-6f30-4f3e-8a7b-2f2a20a7d91c' \
-H 'X-API-Key: YOUR_API_KEY'curl -L \
-H 'X-API-Key: YOUR_API_KEY' \
'https://www.redact-pdf.ai/v1/documents/7f4f4f85-6b7a-4f88-9a8a-7b9a6a2d2fd0/output' \
-o contract-redacted.pdfcurl -X DELETE \
-H 'X-API-Key: YOUR_API_KEY' \
'https://www.redact-pdf.ai/v1/jobs/b3f2b2e0-6f30-4f3e-8a7b-2f2a20a7d91c'Yes. Redact PDF AI provides a REST API that redacts PDFs and images programmatically, using the same AI PII detection and OCR pipeline as the web app and returning an irreversible, flattened file.
POST your file to the /v1/jobs endpoint with your API key and chosen PII categories, poll the job until it is done, then download the redacted output. See the curl examples above.
Yes. A single job can include multiple documents, and you can run jobs concurrently for high-volume workloads.
Processing runs on Microsoft Azure in the EU (Frankfurt) and Switzerland, encrypted in transit and at rest, and documents are never used to train AI models.
Yes. Use "ephemeral" retention so files are deleted right after the job completes; otherwise the default retention applies and you can delete any job via the API.
The API is included on every plan. API jobs use the same page quota as your subscription and any credit packs, so there is no separate API tier or add-on.