Download OpenAPI specification:
Integrate Glance into your customer service workflows with secure, flexible APIs.
This suite of endpoints provides comprehensive administrative control over your account's users, including creation, bulk operations, status modifications (locks/suspensions), and group-level permissions.
Returns paginated list of users in the group.
Required Permissions:
| group_id required | integer The ID of the group |
| username | string Filter by username (case-insensitive partial match). Example "john" matches "john.smith", "JOHN.DOE" |
| offset | integer >= 0 Default: 0 Position to start the page of results |
| limit | integer [ 1 .. 1000 ] Default: 20 Number of results to return in the page (max 1000) |
| firstname | string Filter by first name (case-insensitive partial match). Example "john" matches "John", "JOHNNY" |
| lastname | string Filter by last name (case-insensitive partial match). Example "smith" matches "Smith", "SMITHSON" |
| puid | string Filter by partner user ID (case-insensitive partial match). Example "abc" matches "ABC123", "xyz_abc_789" |
| rolename | string Filter by role name (case-insensitive partial match). Special case: Use "-none-" (any case) to find users with no role assigned (roleId = 0 or NULL). Examples: "admin" matches "Administrator", "SystemAdmin"; "-none-" returns users with no role |
| roleId | string Filter by exact role ID. Use "0" to find users with no role assigned (equivalent to rolename="-none-") |
| orMode | boolean Default: false Use OR logic for combining filters (default: false uses AND logic). When true, users matching ANY filter are returned; when false, users must match ALL filters |
| col | string Default: "username" Enum: "username" "firstname" "lastname" "person_id" Column to sort by. Default username is effective login/Glance address (A–Z when sort=asc). |
| sort | string Default: "asc" Enum: "asc" "desc" Sort direction for the column chosen by col. |
| lockedOut | boolean When true, restrict results to login lockout users. |
| suspended | boolean When true, restrict results to suspended users. |
| admin | boolean When true, restrict results to group administrators (GROUP OWNER permission in this group). |
{- "pagination": {
- "offset": 0,
- "pageSize": 20,
- "totalRecords": 2
}, - "usersList": [
- {
- "userId": 1001,
- "canModify": true,
- "firstName": "John",
- "lastName": "Smith",
- "email": "john.smith@example.com",
- "username": "john.smith",
- "partnerUserId": "ext-123",
- "suspended": false,
- "locked": false,
- "subscription": true,
- "roleId": 5,
- "roleName": "Administrator",
- "lastWebLogin": "2026-02-15T14:30:00Z",
- "lastSession": "2026-02-20T15:45:00Z",
- "administrator": true,
- "defaultGroupId": 19578
}, - {
- "userId": 1002,
- "canModify": false,
- "firstName": "Jane",
- "lastName": "Doe",
- "email": "jane.doe@example.com",
- "username": "jane.doe",
- "partnerUserId": "ext-456",
- "suspended": false,
- "locked": false,
- "subscription": true,
- "roleId": 3,
- "roleName": "Agent",
- "lastWebLogin": "2026-02-14T09:15:00Z",
- "lastSession": null,
- "administrator": false,
- "defaultGroupId": null
}
]
}Create users in a group. A maximum of 1,000 users can be created per request. For larger imports, split into multiple requests of up to 1,000 users each.
Required Permissions (all required):
| group_id required | integer The ID of the group |
| firstName | string User's first name. |
| lastName | string User's last name. |
string User's email address. | |
| username required | string User's username. |
| password | string User's password. |
| partnerUserId required | string External system identifier associated with this user. |
| roleId | integer Numeric identifier representing the user's assigned role within the group. |
| defaultGroupId | integer Preferred group ID for login when the user has multiple affiliations. |
[- {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "username": "string",
- "password": "string",
- "partnerUserId": "string",
- "roleId": 0,
- "defaultGroupId": 0
}
][- {
- "userId": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "username": "string",
- "partnerUserId": "string",
- "suspended": true,
- "roleId": 0,
- "defaultGroupId": 0
}
]Update users in a group. A maximum of 1,000 users can be updated per request. For larger batch updates, split into multiple requests of up to 1,000 users each.
Required Permissions (all required):
| group_id required | integer The ID of the group |
| userId required | integer The unique Glance identifier of the user. This value cannot be modified. |
| partnerUserId | string External system identifier associated with this user. |
| suspended | boolean Whether the user account is suspended. Set to true to suspend the user or false to reactivate. |
| username | string User's username. |
| password | string User's password. |
| firstName | string User's first name. |
| lastName | string User's last name. |
string User's email address. | |
| roleId | integer Numeric identifier representing the user's assigned role within the group. Set to 0 to remove the user's role assignment. |
| defaultGroupId | integer Preferred group ID for login when the user has multiple affiliations. Set to 0 to clear. |
[- {
- "userId": 0,
- "partnerUserId": "string",
- "suspended": true,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "roleId": 0,
- "defaultGroupId": 0
}
]0Unlock the specified user in a group.
Required Permissions (any one):
| group_id required | integer The ID of the group the user belongs to. |
| user_id required | integer The ID of the locked user. |
{- "status": "ok"
}Delete users in a group. A maximum of 1,000 users can be deleted per request. For larger batch deletions, split into multiple requests of up to 1,000 user IDs each.
Required Permissions (all required):
| group_id required | integer The ID of the group |
| userId required | integer The unique Glance identifier of the user. |
[- {
- "userId": 0
}
]3Returns the full set of group-level permissions for the specified user.
Required Permissions:
| group_id required | integer The ID of the group to query permissions within. |
| user_id required | integer The ID of the user whose permissions to retrieve. |
{- "groupOwner": true,
- "addUsers": true,
- "editUsers": true,
- "deleteUsers": true,
- "editGroupSettings": true,
- "editSecurity": true,
- "viewSecurity": true,
- "manageCustomerSubgroups": true,
- "manageMemberSubgroups": false
}Updates group-level permissions for the specified user.
Required Permissions (all required):
| group_id required | integer The ID of the group to update permissions within. |
| user_id required | integer The ID of the user whose permissions to update. |
Object mapping permission names to boolean values.
| groupOwner | boolean Whether the user has full group owner privileges, granting access to all group management capabilities. |
| addUsers | boolean Whether the user can create new users within the group. |
| editUsers | boolean Whether the user can modify existing user accounts within the group. |
| deleteUsers | boolean Whether the user can remove users from the group. |
| editGroupSettings | boolean Whether the user can modify group-level settings and configuration. |
| editSecurity | boolean Whether the user can modify security settings and permission assignments for other users. |
| viewSecurity | boolean Whether the user can view security settings and permission assignments (read-only access). |
| manageCustomerSubgroups | boolean Whether the user can create, modify, and manage customer-type subgroups. |
| manageMemberSubgroups | boolean Whether the user can create, modify, and manage member-type subgroups. |
{- "addUsers": true,
- "editUsers": true,
- "deleteUsers": false
}