GET /api/v1/users
Lists users in your org, with pagination in most cases.
A subset of users can be returned that match a supported filter expression or search criteria. Different results are returned depending on specified queries in the request.
Notes:
- This operation omits users that have a status of
DEPROVISIONEDin the response. To return all users, use a filter or search query instead.- The
searchparameter results are sourced from an eventually consistent datasource and may not reflect the latest information.
Servers
- https://{yourOktaDomain}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | No |
Specifies the media type of the resource. Optional Complex DelAuth configurations may degrade performance when fetching specific parts of the response, and passing this parameter can omit these parts, bypassing the bottleneck. Enum values for
|
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
sortOrder |
String | No |
Specifies sort order: Default value: "asc" |
limit |
Integer | No |
Specifies the number of results returned. Defaults to 10 if You can use Default value: 200 |
filter |
String | No |
Filters users with a supported expression for a subset of properties.
This requires URL encoding. For example, Filtering supports the following limited number of properties: Additionally, filtering supports only the equal |
sortBy |
String | No |
Specifies the field to sort by (for search queries only). This can be any single property, for example |
q |
String | No |
Finds users who match the specified query. Use the The value of
|
after |
String | No |
The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the |
search |
String | No |
Searches for users with a supported filtering expression for most properties. Okta recommends this query parameter because it provides the largest range of search options and optimal performance.
This operation supports pagination. Use an ID lookup for records that you update to ensure your results contain the latest data. Returned users include those with the Property names in the search parameter are case sensitive, whereas operators ( This operation requires URL encoding. See Special characters. This operation searches many properties:
You can also use You can search properties that are arrays. If any element matches the search term, the entire array (object) is returned. Okta follows the SCIM Protocol Specification for searching arrays. You can search multiple arrays, multiple values in an array, as well as using the standard logical and filtering operators. See Filter. Searches for users can be filtered by the following operators: |
expand |
String | No |
A parameter to include metadata in the |
fields |
String | No |
Specifies a select set of user properties to query. Any other properties will be filtered out of the returned users. This is often called field projections in APIs, which can reduce payload size, improve performance, and limit unneccessary data exposure. Requested fields should be comma-separated. Comma-separate the fields and place sub-fields in the profile object inside a |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.