Get user information

Last Updated on : 2023-06-01 06:20:14download

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

API address

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

Request parameter

Parameter name Type IN Required Description
uid String uri true User ID

Return parameter

Parameter name Type Description
result UserRes Return result

Description of result

Parameter name Type Description
uid String User UID
username String Username
country_code String Country Code
mobile String Mobile phone number (only supported by mobile phone number registered users)
email String Mailbox (only supported by registered mailbox users)
nick_name String Nickname
avatar String Portrait
create_time Long Created time
update_time Long Update time
user_properties List User Attributes
time_zone_id String Time Zone ID
temp_unit Integer Temperature Unit

Description of user_properties

Parameter name Type Description
code String User attribute code
value String User attribute code value

Request example

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

Error code

For more information, see error code.