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

# List groups

> GET /v2/groups lists the groups in your workspace.

```
GET https://api.solidroad.com/v2/groups
```

Scope: `groups:read`.

A group is a set of people in your workspace, such as a team or a site. A group can sit under another group. The list sorts on `updatedAt`, most recent first. Send `order=asc` for oldest first.

## Query parameters

| Parameter | Type | Default | Meaning |
| - | - | - | - |
| `limit` | integer | `50` | 1 to 100 records on a page. |
| `cursor` | string | none | `nextCursor` from the previous page. |
| `order` | string | `desc` | `asc` or `desc` on `updatedAt`. |
| `filter` | string | none | A CEL expression over the fields below. |

Read [Lists](https://solidroad.mintlify.site/api-reference/v2/lists.md) for how the parameters work, and [Filtering](https://solidroad.mintlify.site/api-reference/v2/filtering.md) for the filter syntax.

## Filter fields

| Field | Kind | Can be empty | Values |
| - | - | - | - |
| `updatedAt` | Time | No | `timestamp("…")` |

These are the only fields that you can filter on. Read [Filtering](https://solidroad.mintlify.site/api-reference/v2/filtering.md) for the syntax and the operators that each kind takes.

## Request

```bash theme={null}
curl --get https://api.solidroad.com/v2/groups \
  -H "Authorization: Bearer $SOLIDROAD_API_KEY" \
  --data-urlencode "limit=100"
```

## Response

`data` is a list of [group objects](https://solidroad.mintlify.site/api-reference/v2/endpoint/groups/get.md#group-object).

```json theme={null}
{
  "data": [
    {
      "id": "grp_00000000-0000-4000-8000-000000000002",
      "object": "group",
      "name": "Refunds team",
      "parentGroupId": "grp_00000000-0000-4000-8000-000000000001",
      "managedBySso": false,
      "createdAt": "2026-09-14T10:21:07.000Z",
      "updatedAt": "2026-10-27T08:45:19.312Z"
    },
    {
      "id": "grp_00000000-0000-4000-8000-000000000001",
      "object": "group",
      "name": "Customer support",
      "managedBySso": true,
      "createdAt": "2026-09-02T08:00:00.000Z",
      "updatedAt": "2026-10-20T14:02:11.000Z"
    }
  ],
  "hasMore": true,
  "nextCursor": "eyJhdCI6IjIwMjYtMTAtMjBUMTQ6MDI6MTEuMDAwWiIsImtleSI6ImdycF8wMDAwMDAwMC0wMDAwLTQwMDAtODAwMC0wMDAwMDAwMDAwMDIiLCJzY29wZSI6IlhxM24wYlFrN3NUekx3MlZoWWM5YUEifQ"
}
```

## Errors

| Status | `code` | Cause |
| - | - | - |
| 400 | `invalid_request` | A parameter, the filter or the cursor is not valid. |
| 401 | `unauthorized` | The API key is missing or not valid. |
| 403 | `insufficient_scope` | The key does not have `groups:read`. |
| 429 | `rate_limited` | You sent too many requests. |

Read [Errors](https://solidroad.mintlify.site/api-reference/v2/errors.md) for every code.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.