Black out terms irreversibly: pages are rasterised, matches covered, rebuilt as an image PDF – the text is GUARANTEED gone. No text layer afterwards (run ocr if needed). Billed per page.
| Name | Type | Description |
|---|---|---|
terms | string · required | JSON array of terms to remove, e.g. ["name","IBAN..."] (max 100). |
file | file · required | PDF to redact (max 300 pages). |
dpi | integer · optional | Raster resolution 72–300, default 150. |
padding | number · optional | Extra margin around each match in points, default 2. |
curl -X POST https://api.bigapi.dev/v1/pdf/redact -H 'Authorization: Bearer $KEY' -F 'file=@contract.pdf' -F 'terms=["Max Mustermann","DE8937..."]' -o redacted.pdf
HTTP/1.1 200 OK Content-Type: application/pdf X-BigAPI-Redactions: 7 X-BigAPI-Pages: 12 (image-based PDF, matches blacked out, no text layer)