v1

latestSwagger 2.02026-07-1771241.1 KB
Accounts

Returns an user's account.

get/users/{userId}

Path parameters

userIdstring required

ID of the user

Headers

Authorizationstring required

Insert your access token

X-Account-Metadatastring

Insert your metadata token

Response

OK

agendaPhoneNumberHashesstring
blockchainAccountAddressstring
checksumstring
citystring
clientDataUsersJSON
countrystring
createdAtstring
emailstring
firstNamestring
hiddenProfileElementsstring[]
idstring
kycStepBlocked0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
kycStepPassed0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
kycStepsCreatedAtstring[]
kycStepsLastUpdatedAtstring[]
languagestring
lastNamestring
miningBlockchainAccountAddressstring
phoneNumberstring
profilePictureUrlstring
referredBystring
repeatableKYCStepsobject
t1ReferralCountinteger
t1ReferralsSharingEnabledboolean
t2ReferralCountinteger
telegramBotIdstring
telegramUserIdstring
updatedAtstring
usernamestring
verifiedboolean
verifiedT1ReferralCountinteger

Example response

{
  "agendaPhoneNumberHashes": "Ef86A6021afCDe5673511376B2,Ef86A6021afCDe5673511376B2,Ef86A6021afCDe5673511376B2,Ef86A6021afCDe5673511376B2",
  "blockchainAccountAddress": "0x4B73C58370AEfcEf86A6021afCDe5673511376B2",
  "checksum": "1232412415326543647657",
  "city": "New York",
  "country": "US",
  "createdAt": "2022-01-03T16:20:52.156534Z",
  "email": "jdoe@gmail.com",
  "firstName": "John",
  "hiddenProfileElements": [
    "level"
  ],
  "id": "did:ethr:0x4B73C58370AEfcEf86A6021afCDe5673511376B2",
  "kycStepsCreatedAt": [
    "2022-01-03T16:20:52.156534Z"
  ],
  "kycStepsLastUpdatedAt": [
    "2022-01-03T16:20:52.156534Z"
  ],
  "language": "en",
  "lastName": "Doe",
  "miningBlockchainAccountAddress": "0x4B73C58370AEfcEf86A6021afCDe5673511376B2",
  "phoneNumber": "+12099216581",
  "profilePictureUrl": "https://somecdn.com/p1.jpg",
  "referredBy": "did:ethr:0x4B73C58370AEfcEf86A6021afCDe5673511376B2",
  "t1ReferralCount": 100,
  "t1ReferralsSharingEnabled": true,
  "t2ReferralCount": 100,
  "telegramBotId": "5678",
  "telegramUserId": "1234",
  "updatedAt": "2022-01-03T16:20:52.156534Z",
  "username": "jdoe",
  "verified": true,
  "verifiedT1ReferralCount": 100
}