Redact document
POST {{baseUrl}}/api/{{apiV3Version}}/document-tool/:document-id/pdf-redactor
Redact or highlight a PDF by a configuration of the following information:
- Keywords
- Pages
- Areas
Request Body
| name | required | description |
|---|---|---|
| redactTexts | false | Words to be redacted. |
| redactTextPages | false | Pages to be redacted |
| redactRectArray | false | Coordinates of squares to be masked |
| highlight | false | Whether to use highlight mode (true) or redaction (false) mode. |
Request Body
{"redactTexts"=>["Confidential", "information"], "redactTextPages"=>[1, 3], "redactRectArray"=>[[0, 534, 747, 587, 759]], "highlight"=>true}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
{{idoxAPIKey}} | string | Please sign-up iDox.ai and get an API key. |