Identities

Get tokenized fields

See which identity fields are tokenized with the Python SDK.

GET/identities/{identity_id}/tokenized-fields

Use blnk.identity.get_tokenized_fields to list tokenized identity fields.

Call the method

response = blnk.identity.get_tokenized_fields(
  "idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
)
FieldTypeDescription
idstrIdentity ID.

Use the field list

Read response.data["tokenized_fields"] to see which profile fields are protected. Use this before detokenizing specific fields.

Response

{
  "tokenized_fields": ["FirstName", "LastName", "EmailAddress", "PhoneNumber"]
}
FieldTypeDescription
tokenized_fieldsstring[]Field names currently tokenized on the identity.