The GET Users List API endpoint allows you to retrieve a comprehensive list of all users within the Alvys system.

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:

ParameterTypeRequiredDescription
versionStringYesThe version of the API being requested.

Example CURL request

curl --location 'https://integrations.alvys.com/api/p/v{version}/users/list' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

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

curl --location 'https://integrations.alvys.com/api/p/v1/users/list' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ...'

Response Parameters

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

ParameterTypeDescription
idStringThe unique identifier of the user.
userNameStringThe username of the user.
nameStringThe full name of the user.
emailStringThe email address of the user.
userTypeStringThe type of user (e.g., Internal, External).
roleStringThe role assigned to the user (e.g., Admin, User).
phoneStringThe phone number of the user.
companyCodeStringThe code of the company the user is associated with.
statusStringThe current status of the user (e.g., Active, Inactive).
permissionsArray of StringsA list of permissions assigned to the user.
createdAtString (Date-Time)The date and time when the user was created.
modifiedAtString (Date-Time)The date and time when the user's details were last modified.

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.

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!