POST
/
identities
/
{identity_id}
/
tokenize
curl --request POST \
  --url http://localhost:5001/identities/{identity_id}/tokenize \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fields": [
    "FirstName", 
    "LastName", 
    "EmailAddress", 
    "PhoneNumber"
  ]
}'
{
    "message": "Fields tokenized successfully"
}

Authorization

Basic authentication header of the form — Basic <encoded-value>, where <encoded-value> is the base64-encoded string of your username:password.

Path

identity_id
string

Specifies the unique ID of the identity being retrieved

Body

fields
string[]

Specifies an array of fields to be tokenized.

curl --request POST \
  --url http://localhost:5001/identities/{identity_id}/tokenize \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fields": [
    "FirstName", 
    "LastName", 
    "EmailAddress", 
    "PhoneNumber"
  ]
}'
{
    "message": "Fields tokenized successfully"
}

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.

Sign up on Blnk Cloud

Connect your Blnk Ledger and explore advanced features (access control & collaboration, anomaly detection, secure storage & file management, etc.) in one intuitive dashboard.