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
externalUserIdstringRequiredExample:
External user id
H03ZX****0007Responses
200
Operation was successful
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
404
Device Does Not Exist
application/json
default
Internal error
application/json
post
/v1/account/detailPOST /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