We handle about 25 public records requests a month that require the same types of redaction. Each one takes two to thr…
Sign up for Adobe PDF Services API and obtain your API credentials (Client ID and Secret) from the Adobe Developer Console.
CautionAPI credentials are sensitive; store them securely and do not hard-code in source files.
Install the official Adobe PDF Services SDK for your programming language (e.g., npm install @adobe/pdfservices-node-sdk for Node.js).
Prepare a JSON configuration file or object specifying the redaction patterns (e.g., text strings, regex) and redaction appearance settings.
Best practiceYou can redact multiple patterns in one operation by listing them in the configuration.
Write a script that authenticates with the Adobe PDF Services API using your credentials.
Use the SDK or REST API endpoint to submit your PDF and redaction configuration to the Redact PDF operation.
NoteThe Redact PDF operation permanently removes the specified content, including text, images, and metadata.
Download and save the redacted PDF returned by the API.
Best practiceAlways verify the output PDF to ensure all sensitive data is fully removed and not just visually obscured.
Redaction settings can be previewed in the Acrobat app before automating them via API.
The Adobe PDF Services API 'Redact PDF' endpoint programmatically removes sensitive content from PDFs based on your configuration.
Redaction only removes visible text and images. However, PDFs can contain hidden data like metadata, comments, or revision history. Sanitize removes all this hidden information, ensuring that no sensitive data remains in the document, even if it's not visible on the page. This step is crucial for complete data protection.
| Feature | Black Rectangle (Shape Tool) | 'Redact a PDF' Tool |
|---|---|---|
| Purpose | Covers content visually | Permanently removes content |
| Effectiveness | Text remains underneath and can be copied/searched | Text/images are deleted and cannot be recovered |
| Security | Not secure for sensitive data | Secure for sensitive data |
For large amounts of PII (Personally Identifiable Information) like SSNs or account numbers, Acrobat Pro offers pattern-based auto-redaction. You can search for specific patterns of numbers or text and have the tool redact them automatically. After auto-redaction, it is a good practice to have a second person review a random sample to ensure all sensitive data was caught.
Redaction codes are labels or reasons you can apply to redacted areas, like 'Privacy Act' or 'Confidential'. They explain why certain information was removed without revealing the content itself. Using consistent redaction codes across a team helps maintain clarity and legal compliance, especially in legal or government documents. Acrobat allows you to create and manage custom code sets for different purposes.