Skip to main content
GET
List users
The List Users API endpoint is used for fetching comprehensive details of all users, helping administrators and managers keep track of user accounts and their associated roles and permissions within the Alvys system. The inclusion of versioning in the URL path ensures compatibility with different API versions as the platform evolves. For more information on versioning, refer to the Versioning page.

Request Parameters

The following parameter is required in the URL path:

Example CURL request

Replace {version} with the API version number and YOUR_ACCESS_TOKEN with your actual Bearer token.

Response Parameters

The response contains a list of users, each represented by the following parameters:

Example Response

On the right side, you can see examples of different error codes by clicking “Example” and selecting the response code.

Rate Limits

All endpoints are subject to rate limits to protect the API from traffic spikes. For detailed information on rate limits, please refer to the Rate Limits section. This page is interactive, allowing you to try a request without any parameters. The Curl command on the right side of the page will be automatically updated. Alternatively, you can directly edit the Curl command. Make sure to authorize yourself before trying a request.

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.

Path Parameters

version
string
default:1.0
required

API version (e.g., 1.0)

Example:

"1.0"

Response

OK

Id
string
required
UserName
string
required
Name
string
required
UserType
string
required
Role
enum<string>
required
Available options:
Admin,
Dispatcher,
Driver,
Biller,
SalesAgent,
DataEntry,
Safety,
OperationManager
CompanyCode
string
required
Status
enum<string>
required
Available options:
Active,
Disabled,
Deleted
Permissions
string[]
required
Email
string | null
Phone
string | null
CreatedAt
string<date-time> | null
ModifiedAt
string<date-time> | null