v1
latestSwagger 2.02026-07-1771241.1 KBAccounts
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
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
}