> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Groups

Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.

<Note>
  External Documentation

  To learn more, visit the [Okta documentation](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Group/#tag/Group/operation/listGroups).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                              |
  | ---------------- | -------------------------------------------------------- |
  | Query            | Searches the name property of groups for matching value. |
  | Return All Pages | Automatically fetch all resources, page by page.         |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                                                                                         |
  | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Expand    | Adds extra metadata to the response if provided. Possible values are stats and/or app.                                                                                                                                                                                                                                              |
  | Limit     | Specifies the number of group results in a page.<br />If you don't specify a value for limit and don't specify a query, only 200 results are returned for most orgs.<br />If you don't specify any value for limit and do specify a query, a maximum of 10 results are returned.                                                    |
  | Search    | Filter expression for groups based on the SCIM protocol specification.<br />For more information visit [https://developer.okta.com/docs/reference/core-okta-api/#filter](https://developer.okta.com/docs/reference/core-okta-api/#filter).<br />For example: `type eq "APP_GROUP"` or `lastUpdated gt "yyyy-MM-dd'T'HH:mm:ss.SSSZ"` |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "<string>",
		"name": "<string>"
	},
	{
		"id": "<string>",
		"name": "<string>"
	}
]
```

## Workflow Library Example

[List Groups with Okta and Send Results Via Email](https://library.blinkops.com/workflows/list-groups-with-okta-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-groups-with-okta-and-send-results-via-email/canvas" />
</div>
