# List groups

Returns a paginated list of groups, ten groups per page by default. Use the startIndex and count (max 100) query parameters to paginate long lists of groups. It's possible to return a list of specific types of groups using the filter parameter.

Endpoint: GET /scim/v2/Groups
Version: 2026-11-06
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Query parameters:

  - `count` (integer)
    The number of records returned per page in the response.

  - `filter` (string)
    The filter used to filter the group, either by organization id.

  - `startIndex` (integer)
    The index number of the page that you want to retrieve. You must set count before specifying startIndex. For example, if you set count to 20 and startIndex to 2, the 21st to 40th records are returned in the response.

## Header parameters:

  - `Content-Type` (string, required)
    The `Content-Type` of the request must be `application/json`.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `schemas` (array)

  - `id` (string)

  - `externalId` (string)

  - `meta` (object)

  - `totalResults` (integer)
    Total numbers of groups present.
    Example: 28

  - `resources` (array)

  - `resources.schemas` (array)
    Example: ["urn:ietf:params:scim:schemas:core:2.0:Group","urn:zuora:scim:schemas:1.0:GroupExtension"]

  - `resources.id` (string)
    Example: 01b496f7-1988-44aa-9ea6-c27f0288fa9d

  - `resources.displayName` (string)
    Example: Test_GroupName

  - `resources.members` (array)

  - `resources.members.value` (string)
    Example: e1b624ac-e00f-422b-b4da-20070901b22f

  - `resources.urn:zuora:scim:schemas:1.0:GroupExtension` (object)

  - `resources.urn:zuora:scim:schemas:1.0:GroupExtension.schemas` (array)
    Example: ["urn:zuora:scim:schemas:1.0:GroupExtension"]

  - `resources.urn:zuora:scim:schemas:1.0:GroupExtension.description` (string)
    Example: Test_GroupDescription

  - `resources.urn:zuora:scim:schemas:1.0:GroupExtension.organizationId` (string)
    Example: 5619df2e-fa8c-47fa-9c1e-16ab5af4936e

  - `resources.urn:zuora:scim:schemas:1.0:GroupExtension.active` (boolean)
    Example: true

  - `resources.meta` (object)

  - `resources.meta.resourceType` (string)
    Example: Group

  - `resources.meta.location` (string)
    Example: http://localhost:9900/scim/v2/Groups/01b496f7-1988-44aa-9ea6-c27f0288fa9d

## Response 200 headers (application/json):

  - `Content-Encoding` (string)
    This header is returned if you specify the `Accept-Encoding: gzip` request header and the response contains over 1000 bytes of data.
Note that only the following MIME types support gzipped responses:
- `application/json`
- `application/xml`
- `text/html`
- `text/csv`
- `text/plain`

  - `RateLimit-Limit` (string)
    The request limit quota for the time window closest to exhaustion. See [rate limits](https://developer.zuora.com/docs/guides/rate-limits/) for more information.

  - `RateLimit-Remaining` (integer)
    The number of requests remaining in the time window closest to quota exhaustion. See [rate limits](https://developer.zuora.com/docs/guides/rate-limits/) for more information.

  - `RateLimit-Reset` (integer)
    The number of seconds until the quota resets for the time window closest to quota exhaustion. See [rate limits](https://developer.zuora.com/docs/guides/rate-limits/) for more information.

  - `Zuora-Request-Id` (string)
    The Zuora internal identifier of the API call. You cannot control the value of this header.

  - `Zuora-Track-Id` (string)
    A custom identifier for tracing the API call. If you specified a tracing identifier in the request headers, Zuora returns the same tracing identifier. Otherwise, Zuora does not set this header.

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `success` (boolean)
    Indicates whether the call succeeded.
    Example: false

  - `reasons` (array)

  - `reasons.message` (string)
    Example: Unauthorized

  - `reasons.code` (string)
    Example: 90000011

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `timestamp` (string)
    The timestamp when the response was generated.
    Example: 2023-07-28T10:47:07.931+00:00

  - `status` (string)
    Indicates whether the call succeeded.
    Example: 403

  - `error` (string)
    A brief description of the error that occurred.
    Example: Forbidden

  - `message` (string)
    A detailed message providing additional context about the error or issue. This can be used for debugging or informational purposes.
    Example: Admin access denied

  - `path` (string)
    The API endpoint path that was accessed when the error occurred. This helps to identify which part of the API was involved.
    Example: /scim/v2/Groups

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `schemas` (array)
    List of schema identifiers that define the format of the group resource.
    Example: ["urn:ietf:params:scim:api:messages:2.0:Error"]

  - `status` (string)
    The HTTP status code indicating the error type.
    Example: 404

  - `detail` (string)
    A brief explanation of the error, providing context about the resource issue.
    Example: Resource not found

