Skip to main content
GET
List users

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Required. String. Identifies the organization whose users are listed. Accepts either the organization's internal ID (32-character hexadecimal string) or its externalSourceId (the string an integration set on the organization). This endpoint supports externalId: when the value has the format of an internal ID and an organization with that ID exists, the internal ID takes precedence; otherwise the value is looked up as externalSourceId.

Query Parameters

sort
string[]

Optional. String. Sort order of the users, as one or more field:direction criteria applied in the given order. Send several criteria either as one comma-separated list (sort=lastName:asc,firstName:asc) or as repeated parameters (sort=lastName:asc&sort=firstName:asc). This definition describes the comma-separated form, which is what generated clients and the "try it" console send; repeated parameters are accepted as well. Supported fields: firstName, lastName, email, employeeId, title, endDate, lastInvitationDate, dateCreated. Supported directions: asc, desc; asc applies when the direction is left out. Criteria with an unsupported field are ignored. Defaults to firstName:asc,lastName:asc when omitted or when no criterion is supported. Users with equal values for every criterion are always returned in the same order, so pages never overlap.

Pattern: ^(firstName|lastName|email|employeeId|title|endDate|lastInvitationDate|dateCreated)(:(asc|desc))?$
max
integer
default:10

Optional. Integer. Maximum number of users to return in one page. Must be between 1 and 1000. Defaults to 10.

Required range: 1 <= x <= 1000
offset
integer
default:0

Optional. Integer. Zero-based index of the first user to return, used together with max to page through the list. Must be 0 or greater. Defaults to 0.

Required range: x >= 0

Response

OK

meta
object
required
data
object[]
required