Redact document by coordinates
POST {{baseUrl}}/api/{{apiV3Version}}/document-tool/:document-id/text-in-rects
Redact a PDF by a configuration of coordinates of several squares.
Request Body
name | required | description |
---|---|---|
rects | true | Coordinates of paragraphs, the order is left, bottom, right, top, and the page number. |
Request Body
{"rects"=>[[534, 747, 587, 759, 0], [534, 747, 587, 759, 0], [148, 582, 581, 717, 0], [206, 590, 411, 601, 0], [284, 579, 334, 588, 0]]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
{{idoxAPIKey}} | string | Please sign-up iDox.ai and get an API key. |
RESPONSES
status: OK
{"matchSentences":["","","ity\r\nSCLOSURE AND CONFIDENTIALITY AGREEMENT\r\nure and Confidentiality Agreement (this “Agreement”) is entered into as of Aug. 1st, 2021\r\nate”) by and between:\r\ny: Carbon Corporation, as a(n) Corporation and","rporation, as a(n) Corporation and",""]}