Identities
Get tokenized fields
See which identity fields are tokenized with the Java SDK.
GET
/identities/{identity_id}/tokenized-fieldsUse blnk.identity().getTokenizedFields for this operation.
Call the method
ApiResponse<JsonNode> response = blnk.identity().getTokenizedFields(
"idt_073f7ffe-9dfd-42ce-aa50-d1dca1788adc"
);
| Field | Type | Description |
|---|---|---|
id | String | Identity ID. |
Use the field list
Read response.data().get("tokenized_fields") to see which profile fields are protected. Use this before detokenizing specific fields.
Response
{
"tokenized_fields": ["FirstName", "LastName", "EmailAddress", "PhoneNumber"]
}
| Field | Type | Description |
|---|---|---|
tokenized_fields | List<String> | Field names currently tokenized on the identity. |