Skip to main content
POST
/
identities
/
{identity_id}
/
tokenize
/
{field}
Tokenize field
curl --request POST \
  --url http://localhost:5001/identities/{identity_id}/tokenize/{field} \
  --header 'X-blnk-key: <api-key>'
Use blnk.Identity.tokenizeField to tokenize one identity field.
blnk.Identity.tokenizeField
const response = await blnk.Identity.tokenizeField(
  'idt_3b63c8da-af29-4cc3-ad38-df17d87456e6',
  'EmailAddress',
);
FieldDescription
idIdentity ID.
fieldPascalCase field name to tokenize.

Response shape

201 Created
{
  "message": "Field tokenized successfully"
}
FieldDescription
messageConfirmation that the field was tokenized.

PII tokenization

Setup, secrets, and how tokenization works.

Tokenize one field

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.