Skip to main content
GET
/
identities
/
{identity_id}
Get identity
curl --request GET \
  --url http://localhost:5001/identities/{identity_id} \
  --header 'X-blnk-key: <api-key>'
Use client.Identity.Get to fetch a single identity by its identity ID.
1

Call the method

client.Identity.Get
identity, resp, err := client.Identity.Get(
	"idt_3b63c8da-af29-4cc3",
)
FieldTypeDescription
identityIDstringIdentity ID to retrieve.
2

Use the identity details

Read fields on the returned *blnkgo.IdentityResponse for profile fields, metadata, and creation time. Use the identity ID when linking balances or updating profile data.
3

Response

200 OK
{
  "identity_id": "idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
  "identity_type": "individual",
  "first_name": "Alice",
  "last_name": "Smith",
  "email_address": "alice.smith@example.com",
  "phone_number": "+1234567890",
  "nationality": "Canadian",
  "category": "customer",
  "created_at": "2024-11-26T08:36:36.238244338Z",
  "meta_data": {
    "customer_id": "CUST123456"
  }
}
FieldTypeDescription
identity_idstringUnique ID for the identity.
identity_typestringindividual or organization.
created_atstringDate and time the identity was created.
meta_dataobjectMetadata stored with the identity.
The response includes every profile field set on the identity.

How identities work

Linking balances and handling profile data.

View identity details

HTTP request and response schema.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.