Identities

Tokenize multiple fields

Replace several identity fields with tokens in one request.

POST/identities/{identity_id}/tokenize

Authorization

If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.

Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.

See also: Core API key.

Blnk tokenizes the fields in order and stops on the first field that fails.

Path

identity_idstringrequiredpath

Id of the identity that holds the fields.

Body

fieldsstring[]requiredbody

PascalCase names to tokenize. Send at least one of FirstName, LastName, OtherNames, EmailAddress, PhoneNumber, Street, or PostCode.

Response

messagestringrequired

Confirms every field in the request is now a token.