Identities

Get identity

Retrieve an identity by its ID with the Python SDK.

GET/identities/{identity_id}

Use blnk.identity.get to fetch a single identity by its identity id.

Call the method

response = blnk.identity.get(
  "idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
)
FieldTypeDescription
idstrIdentity ID to retrieve.

Use the identity details

Read response.data for profile fields, metadata, and creation time. Use the identity ID when linking balances or updating profile data.

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"
  }
}
FieldTypeDescription
identity_idstrUnique ID for the identity.
identity_typestrindividual or organization.
created_atstrDate and time the identity was created.
meta_datadictMetadata stored with the identity.

The response includes every profile field set on the identity.