---
title: "Get All Groups or Teams"
method: GET
path: "/Groups"
tags: ["Groups"]
---

# Get All Groups or Teams

`GET /Groups`

## Request

- Base URL: `https://users.lucid.app/scim/v2`
- URL: `https://users.lucid.app/scim/v2/Groups`
- Auth: HTTP bearer

Gets all org groups or teams on an account. Supports pagination and filtering.

## Query parameters

- `filter` string
- `count` integer
- `startIndex` integer
- `attributes` string[]
- `excludedAttributes` string[]

## Response `200`

OK. Returns a list of org groups or teams.

- GetAllGroups
  - `schemas` string[]: SCIM schema URIs for the list response.
  - `totalResults` integer: The total number of org groups or teams matching the query (across all pages, not just the current page).
  - `startIndex` integer: The 1-based index of the first result in the "Resources" list (for paginated results). Reflects the startIndex parameter sent in the request.
  - `itemsPerPage` integer: The maximum number of results returned in the "Resources" list (for paginated results). Reflects the count parameter sent in the request.
  - `Resources` Group[]: The list of org groups or teams returned by the query.
    - `id` string: Will be in the form "lucid-group-1234" with 1234 being the ID of the Lucid org group or team.
    - `schemas` string[]: URIs identifying the SCIM schemas that describe this resource's attributes.
    - `displayName` string: The name of the org group or team.
    - `members` Member[]: The users (and, for org groups, subgroups) that are members of this org group or team.
      - `value` string, required: The ID of the member. For org groups, this can be a user ID (e.g. "lucid-1234") or a subgroup ID (e.g. "lucid-group-5678"). For teams, only user IDs are supported.
      - `$ref` string: The URI of the member. Points to /Users/{id} for user members, or for org groups, /Groups/{id} for subgroup members.
      - `display` string: The display name of the member (the user's name, or for org group subgroups, the subgroup's name).
    - `meta` object

## Other responses

- `401`: Unauthorized. Occurs if bearer token is invalid.
- `429` (unresolved $ref)

---

[API](https://skmtc.dev/lucid/apis/lucid-scim-api.md) - [All operations](https://skmtc.dev/lucid/apis/lucid-scim-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-scim-api/revisions/840cb3f88aa6?raw)
