Identities
Get identity
Retrieve an identity by its ID with the Go SDK.
GET
/identities/{identity_id}Use client.Identity.Get to fetch a single identity by its identity ID.
Call the method
identity, _, _ := client.Identity.Get(
"idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
)
| Field | Type | Description |
|---|---|---|
identityId | string | Identity ID to retrieve. |
Response
{
"identity_id": "idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
"identity_type": "individual",
"first_name": "Alice",
"last_name": "Smith",
"email_address": "[email protected]",
"phone_number": "+1234567890",
"nationality": "Canadian",
"category": "customer",
"created_at": "2024-11-26T08:36:36.238244338Z",
"meta_data": {
"customer_id": "CUST123456"
}
}Go response (*blnkgo.IdentityResponse)
| Field | Type | Description |
|---|---|---|
IdentityId | string | Unique ID for the identity. |
IdentityType | blnkgo.IdentityType | Individual or Organization. |
FirstName | string | First name of the individual. |
LastName | string | Last name of the individual. |
EmailAddress | string | Email address. |
CreatedAt | string | Date and time the identity was created. |
MetaData | MetaData | Metadata stored with the identity. |