English
English
简体中文
Contact Us
Register
Log In

Get user information

Last Updated on : 2022-04-29 05:34:20download

You can get the detailed information of a single user through this API

API address

GET: /v1.0/users/{uid}/infos

Request parameter

Parameter nameTypeINRequiredDescription
uidStringuritrueUser ID

Return parameter

Parameter nameTypeDescription
resultUserResReturn result

Description of result

Parameter nameTypeDescription
uidStringUser UID
usernameStringUsername
country_codeStringCountry Code
mobileStringMobile phone number (only supported by mobile phone number registered users)
emailStringMailbox (only supported by registered mailbox users)
nick_nameStringNickname
avatarStringPortrait
create_timeLongCreated time
update_timeLongUpdate time
user_propertiesListUser Attributes
time_zone_idStringTime Zone ID
temp_unitIntegerTemperature Unit

Description of user_properties

Parameter nameTypeDescription
codeStringUser attribute code
valueStringUser attribute code value

Request example

GET: /v1.0/users/ay1234xxx/infos

Error code

For more information, see error code.