Skip to main content
GET
/
v1
/
user
Get User
curl --request GET \
  --url https://api.example.com/v1/user
{
  "contacts": [
    {
      "contact": "user@example.com",
      "verified": true,
      "did": "did:via:humanos:user-abc123"
    }
  ],
  "identity": {
    "fullName": "John Doe",
    "birth": "1990-01-01",
    "docId": "1234567890",
    "countryAlpha3": "PRT",
    "fullDocId": "12345678901234",
    "gender": "M",
    "expiresAt": "2025-01-01",
    "issueDate": "2010-01-01",
    "taxNumber": "123456789",
    "healthNumber": "987654321",
    "socialSecurityNumber": "111222333",
    "photo": "data:image/jpeg;base64,/9j/4AAQSkZJRg...",
    "height": "175",
    "documentType": "passport",
    "documentDiscriminator": "ZWX1",
    "placeOfBirth": "Lisbon",
    "mrzText": "P<PRTDOE<<JOHN<<<<<<<<<<<<<<<<<<<<<<<<<",
    "extra": "{\"notes\": \"Additional information\"}"
  },
  "internalId": "internal-12345"
}

Query Parameters

contact
string

Contact value (email or phone)

Example:

"user@example.com"

did
string

Public Decentralized Identifier (DID) of the user

Example:

"did:via:humanos:user-abc123"

internalId
string

Identifier to help you identify the user in your own system. We recommend using a unique value.

Example:

"internal-12345"

Response

Contact information, identity data (if available), and the internal ID

contacts
SubjectContactEntity · object[]
required

List of contacts associated with the user

identity
IdentityDto · object

Identity information (KYC data) for the user, if available

internalId
string

Identifier to help you identify the user in your own system. We recommend using a unique value.

Example:

"internal-12345"