Logo
Accusoft API Documentation

Create a Redaction Creator

POST {{prizmdoc_server_base_url}}/v2/redactionCreators

https://help.accusoft.com/PrizmDoc/latest/HTML/redaction-creator.html#post-v2redactioncreators

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accusoft-Affinity-Token
string




RESPONSES

status





Curl
curl -X POST 'prizmdoc_server_base_url/v2/redactionCreators' -H 'Content-Type: application/json' -H 'Accusoft-Affinity-Token: affinityToken' -d '{"input":{"source":{"fileId":"documentFileId"},"rules":[{"find":{"type":"regex","pattern":"example"},"redactWith":{"type":"RectangleRedaction"}},{"find":{"type":"regex","pattern":"[0-9]{3}[-]?[0-9]{2}[-]?[0-9]{4}"},"redactWith":{"type":"RectangleRedaction","borderColor":"#FF0000","fillColor":"#FF0000","fontColor":"#000000","reason":"Redacted","data":{"author":"John Smith","phone":"+1 123 456 789"}}}]}}'

ENDPOINTS