Skip to main content
POST
/
v1
/
detokenize
Reveal Original PII
curl --request POST \
  --url https://api.guardion.ai/v1/detokenize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "messages": [
    {
      "role": "user",
      "content": "<string>"
    }
  ],
  "application": "<string>",
  "policy": "<string>"
}
'
{
  "messages": [
    {
      "role": "user",
      "content": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use your Guardion API Key as a Bearer token.

Body

application/json
messages
object[]
required
application
string
policy
string

Response

200 - application/json

Tokens successfully restored to original values.

messages
object[]
required