Get User Detail

post

Obtain account detail by logged user account in HanchuESS

Required scopes
This endpoint requires the following scopes:
  • : all privileges
  • : all privileges
Authorizations
OAuth2clientCredentialsRequired
Token URL:

OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Body
externalUserIdstringRequired

External user id

Example: H03ZX****0007
Responses
200

Operation was successful

application/json
post
/v1/account/detail
POST /portal/v1/account/detail HTTP/1.1
Host: idaas-sandbox.hanchuess.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 34

{
  "externalUserId": "H03ZX****0007"
}
{
  "errno": 200,
  "msg": "The operation has been successful",
  "data": {
    "userId": "N97nm*******baa4af",
    "nickName": "LL1",
    "phone": 3,
    "email": "46****[email protected]",
    "country": "England",
    "city": null,
    "address": null,
    "zipcode": null,
    "timezone": "Europe/London",
    "inviteCode": "Ja***h",
    "avatarUrl": "https://xxx.xxx.com/frontend/avatar-merchant-1.png",
    "registerAt": 1735279682735
  }
}

Last updated