Skip to main content
POST
/
identities
/
{identity_id}
/
detokenize
Detokenize identity
curl --request POST \
  --url http://localhost:5001/identities/{identity_id}/detokenize \
  --header 'X-blnk-key: <api-key>'
Use blnk.Identity.detokenize to detokenize several identity fields.
blnk.Identity.detokenize
const response = await blnk.Identity.detokenize(
  'idt_3b63c8da-af29-4cc3-ad38-df17d87456e6',
  { fields: ['FirstName', 'EmailAddress'] },
);
FieldDescription
idIdentity ID.
fieldsPascalCase field names to detokenize. Pass [] for all tokenized fields.

Response shape

200 OK
{
  "fields": {
    "firstName": "Alice",
    "emailAddress": "alice.smith@example.com"
  }
}
FieldDescription
fieldsOriginal values for the fields you requested.

PII tokenization

Setup, access controls, and how detokenization works.

Detokenize multiple fields

HTTP request and response schema.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.