Get all users

Returns a paginated list of users for the current customer. Requires user:read or usermanagement.read.

Request

GET /user

Query Parameters

ParameterTypeDefaultDescription
qstring""Filter by email (*phrase* match).
_startinteger0Pagination offset.
_endinteger20End index (exclusive). Page size is _end - _start.
_sortstringemailSort field (for example email).
_orderstringASCASC or DESC.
filterByRolestring—Auth0 role ID. Empty string is ignored.
filterByInstancestring—Instance identifier. Empty string is ignored.

Headers

HeaderValue
AuthorizationBearer <token> (or HMAC headers, see Authentication)

Response

JSON array of users. Total count is in the X-Total-Count header.

Response Body

FieldTypeDescription
user_idstringIdentity-provider user ID (for example auth0|…).
emailstringEmail address.
new_userbooleantrue if the user has not completed first login.
is_external_ssobooleantrue when user_id does not contain auth0|.
instancesobjectMap of instance id (or "*") to arrays of role IDs.

Example Response

[
  {
    "user_id": "auth0|abc123",
    "email": "[email protected]",
    "new_user": false,
    "is_external_sso": false,
    "instances": {
      "*": ["rol_xyz"]
    }
  }
]
Query Params
string
integer
integer
string
string
string
string
Response
200

Successful response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!