Account users list

This API allows you to retrieve a list of users for a specific account with basic information for each user.

How to get data

Method

GET

Request address

To get the data, use the address: https://<server_address>/backend/api.php?

Request parameters

  • cmd=users — command to get the list of users
  • accountid — ID of the account whose users are being requested
  • node — the number of the node where the command should be executed
     

Example request

https://<server_address>/backend/api.php?cmd=users&accountid=56832&node=1
Response
{
 "data": [
 {
 "id": 88977,
 "name": "valera_test",
 "login": "valera17totsenko@gmail.com",
 "passwd": "123456",
 "info": null,
 "email": "valera17totsenko@gmail.com",
 "lang": "en",
 "roleid": 0
 }
 ],
 "code": 0,
 "msg": "OK"
}
In response to the API request, the following is returned:
  • id — user ID
  • name — display name
  • login — username/login
  • passwd — password
  • info — additional user information
  • email — email address
  • lang — user interface language
  • roleid — role ID