Identities
Get tokenized fields
See which identity fields are tokenized with the Go SDK.
GET
/identities/{identity_id}/tokenized-fieldsUse client.Identity.GetTokenizedFields to list tokenized identity fields.
Call the method
fields, _, _ := client.Identity.GetTokenizedFields(
"idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
)
| Field | Type | Description |
|---|---|---|
identityID | string | Identity ID. |
Use the field list
Read fields.TokenizedFields to see which profile fields are protected. Use this before detokenizing specific fields.
Response
{
"tokenized_fields": ["FirstName", "LastName", "EmailAddress", "PhoneNumber"]
}Go response (*blnkgo.GetTokenizedFieldsResponse)
| Field | Type | Description |
|---|---|---|
TokenizedFields | []TokenizableIdentityField | Field names currently tokenized on the identity. |