Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v72
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
  • Platform maintenance
  • Custom channels guide
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
    • Accountsv72
    • Account users
      • Update an Existing Account
      • Add a new account
      • Delete a user
      • Get a list of users
      • Sending a Welcome Email
    • Nodes
    • Sendersv72
    • Virtual senders
This is documentation for Altcraft Platform v72. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Administrator API
  • Account users
  • Get a list of users
Documentation for version v72

Get a list of users

Description​

Get a list of account users

Request URL​

Method: POST

https://example.com/api/v1.1/admin/accounts/users/list

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format
(By default – json)
account_idint9YesAccount ID
activebooltrueNoActicvate user
masterboolfalseNoAccess to master settings
langstringRUNoLanguage

Request example​

  • JSON
  • XML
{
"token": "aabcdefghijklmnqrstuvwxyz",
"format": "json",
"account_id": 9,
"active": true,
"master": false,
"lang": "RU"
}
<xml>
<token>aabcdefghijklmnqrstuvwxyz</token>
<format>json</format>
<account_id>9</account_id>
<active>true</active>
<master>false</master>
<lang>RU</lang>
</xml>

Response example​

  • JSON
  • XML
{
"data": [
{
"username": "example",
"first_name": "Example",
"last_name": "Example",
"email": "example@gmail.com",
"notify_email": "example@gmail.com",
"phone": "",
"lang": "RU",
"active": true,
"master": false
}
],
"error": 0,
"error_text": "Successful operation",
"total_count": 1
}
<xml>
<data>
<user>
<username>example</username>
<first_name>Example</first_name>
<last_name>Example</last_name>
<email>example@gmail.com</email>
<notify_email>example@gmail.com</notify_email>
<phone></phone>
<lang>RU</lang>
<active>true</active>
<master>false</master>
</user>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
<total_count>1</total_count>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
usernamestringUser name to be used in the login
first_namestringUser name
last_namestringUser surname
emailstringUser email
notify_emailstringUser email for notifications
phonestringPhone number
langstringlanguage
activeboolUser activity status
masterboolAccess to master settings
Last updated on Oct 28, 2024
Previous
Delete a user
Next
Sending a Welcome Email
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.