Identities

Get tokenized fields

See which identity fields are tokenized with the Go SDK.

GET/identities/{identity_id}/tokenized-fields

Use client.Identity.GetTokenizedFields to list tokenized identity fields.

Call the method

fields, _, _ := client.Identity.GetTokenizedFields(
	"idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
)
FieldTypeDescription
identityIDstringIdentity 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)

FieldTypeDescription
TokenizedFields[]TokenizableIdentityFieldField names currently tokenized on the identity.