GET /api/v1/groups
Lists all groups with pagination support.
Note: To list all groups belonging to a member, use the List all groups endpoint in the User Resources API.
The number of groups returned depends on the specified limit, if you have a search, filter, and/or query parameter set, and if that parameter is not null. We recommend using a limit less than or equal to 200.
A subset of groups can be returned that match a supported filter expression, query, or search criteria.
Note: The
searchparameter results are sourced from an eventually consistent datasource and may not reflect the latest information.
Servers
- https://{yourOktaDomain}
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
sortOrder |
String | No |
Specifies sort order: Default value: "asc" |
limit |
Integer | No |
Specifies the number of group results in a page. Okta recommends using a specific value other than the default or maximum. If your request times out, retry your request with a smaller The Okta default |
filter |
String | No |
Filter expression for groups. See Filter. Filtering supports the following limited number of properties:
|
sortBy |
String | No |
Specifies the field to sort by (for search queries only). |
q |
String | No |
Finds a group that matches the
|
after |
String | No |
Specifies the pagination cursor for the next page of groups. The |
search |
String | No |
Searches for groups with a supported filtering expression for all properties except for This operation supports pagination. Using search requires URL encoding, for example, This operation searches many properties:
You can also use the Searches for groups can be filtered by the following operators: |
expand |
String | No |
If specified, additional metadata is included in the response. Possible values are
|
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.