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

Response shape

201 Created
{
  "message": "Fields tokenized successfully"
}
FieldDescription
messageConfirmation that the fields were tokenized.

PII tokenization

Setup, secrets, and how tokenization works.

Tokenize 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.