Skip to main content
POST
/
v2
/
pii
/
restore
Restore redacted text
curl --request POST \
  --url https://api.orq.ai/v2/pii/restore \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "redacted_text": "<string>",
  "mappings": {}
}
'
{
  "original_text": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
redacted_text
string
mappings
object

Placeholder-to-original mapping produced by Redact.

Response

200 - application/json

OK

original_text
string