Retrieve a list of users

Description: Retrieve a list of all users in a company or subset of a company.

SecuritybearerAuth
Request
query Parameters
groupId
Array of strings <uuid>

User role groups to search against.

roleId
Array of integers <int32>

User roles to search against.

status
Array of strings

User Lytx statuses to search against.

loginEnabled
boolean

The setting that allows for login.

limit
integer <int32>
Default: 10000

Number of records to return.

offset
integer <int32>
Default: 0

Record to start with.

order
string

Sort direction.

includeSubGroups
boolean

If true, all subgroups under the specified group(s) are included.

searchText
string <= 100 characters

Search parameter for first+last name, username, and employeeId.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

get/users
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}