Get a list of users or a single user
/api/crm/v2/teamv2team.defaultWithout id, returns a paginated list of users with truncated records. With id, returns the full user record in data.list[0], without pagination or filters. The mode (partner or affiliate) is set by the server based on the session. Filtering by role (permission_role_id) and searching by name (name) are optional.
Authorization
api-token + language + role
Query parameters
If provided, returns a single complete record without pagination
Example: 1
Example: 1
All modes; case-insensitive substring of the user's name (first and last name)
Example: Alina
Example: 1
Responses
OK
Values:successerror
Example: success
Example: example
Example: select
Example: example
Example: All
How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.
Values:force_shownvalue_required
Example: value_required
Example: 8920
Example: select
Example: 8920
Example: Green Basket | Kaliningrad
How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.
Values:force_shownvalue_required
Example: value_required
Example: 8920
Example: select
Example: 8920
Example: Green Basket | Kaliningrad
How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.
Values:force_shownvalue_required
Example: value_required
Example: 8920
Example: select
Example: 8920
Example: Green Basket | Kaliningrad
How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.
Values:force_shownvalue_required
Example: value_required
Example: example
Example: integer or string
Example: string
How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.
Values:force_shownvalue_required
Example: value_required
User in partner mode
Example: 1
Example: John Doe
Example: user@example.com
Example: data:image/jpeg;base64,/9j/4AAQSkZJRg...
All user roles, sorted by role id
Example: 5
Role name from the roles directory; value set is open
Example: head_of_sales
Lock toggle state
Example: false
Country code: 1-🇷🇺(+7|8), 2-🇦🇿(+994|0), 3-🇧🇾(+375|80), 4-🇰🇿(+7|8), 6-🇷🇸(+381|0), 7-🇹🇷(+90|0), 8-🇺🇦(+380|0), 9-🇵🇹(+351|0), 10-🇰🇬(+996|0), 11-🇺🇸(+1), 12-🇫🇷(+33|0), 13-🇲🇩(+373|0), 15-🇪🇪(+372), 18-🇬🇪(+995), 19-🇺🇿(+998), 22-🇵🇱(+48|0), 23-🇹🇯(+992|8), 25-🇷🇴(+40|0), 44-🇨🇭(+41|0)
Example: 1
Example: 9999999999
Example: 2024-05-02 08:31:16
User-related settings for deletion warning; null if none
The block toggle is available in this row to the current user; the rule is determined by the server, do not infer it from role names
Example: true
The current user can view and close sessions of this row
Example: false
Number of items per page
Example: 30
Current page number; limited so that the offset does not exceed 1000
Example: 1
Is there a next page
Example: true
Is there a previous page
Example: false