Identities
Detokenize field
Detokenize a single identity field with the Java SDK.
GET
/identities/{identity_id}/detokenize/{field}Use blnk.identity().detokenizeField for this operation.
Call the method
String identityId = "idt_073f7ffe-9dfd-42ce-aa50-d1dca1788adc";
ApiResponse<JsonNode> response = blnk.identity().detokenizeField(identityId, "FirstName");
| Field | Type | Description |
|---|---|---|
id | String | Identity ID. |
field | String | PascalCase field name to detokenize. |
Use the plaintext value
Read response.data().get("value") for the original field value. Handle it securely and avoid logging it.
Response
{
"field": "EmailAddress",
"value": "[email protected]"
}
| Field | Type | Description |
|---|---|---|
field | String | Field you detokenized. |
value | String | Original plaintext value. |