About this endpoint
What it does
Permanently redacts specified rectangular areas from a PDF and returns the modified PDF as a binary file.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | The PDF file to redact. Up to 20 MB. |
| boxes | String | Yes | JSON object mapping page numbers to lists of redaction boxes, for example {"1":[{"x":50,"y":700,"width":200,"height":20}]}. |
Response
Returns a binary PDF file containing the permanently redacted document.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary file | String | Yes | The redacted PDF returned as binary content. |



