Obtain User List

Feature Description

Obtain App users based on schema page

Interface Address

GET /v1.0/apps/{schema}/users?page_no=&page_size=

Header Parameter

Parameter name Type Parameter position Description Required
client_id String header client_id Yes
access_token String header Access token for obtaining token-related interface Yes
sign String header Signature calculated by the “after get token” signature algorithm Yes
sign_method String header Digestion algorithm of signature, HMAC-SHA256 Yes
t Long header 13-digit standard time stamp Yes

Request Parameters

Parameter name Type Parameter position Description Required
schema String URI app schme Yes
page_no Int URL Current page Yes
page_size Int URL Size for each page Yes

Request Example

GET /v1.0/apps/tuyasmart/users?page_no=1&page_size=10

Return Messages

Parameter name Type Description
code Integer Response code(see error code section for details)
success Boolean Success or failed: (true: success, false: failed)
msg String Request failed message. Empty when successful
result Object User messages

Result Description

Parameter name Type Description
list Array User list
has_more Boolean Whether there are more user messages

List Description

Parameter name Type Description
uid String User id
username String User name
country_code String Country code
email String Email
mobile String Mobile number

Return Example

{
"success":true,
"result":{
"list":[
{
"uid":"ay1538202380123",
"username":"124421@roborock.com",
"country_code":"86",
"email":"123456@123.com",
"mobile":"123465789"
}
],
"has_more":false
}
}

400 Call

Consult

400-881-8611