# List practice groups

Page: https://app.myclaimhouse.com/docs/api/listPracticeGroups

`GET /api/v1/practice_groups`

The practice groups of the key's organization in the key's mode, by name, one page at a time, each with how many offices it holds. Filter by your own client_reference. Needs practice groups enabled for the organization: otherwise 403 FEATURE_NOT_ENABLED.

Needs a key with `read` permission.

## Request

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | No | How many items to return, from 1 to 100. Default 25. At least 1. At most 100. |
| `cursor` | string | No | The next_cursor of the previous page, to get the page after it. Opaque: pass it back unchanged. |
| `client_reference` | string | No | Only the groups with exactly this client reference. At most 120 characters. |
| `idempotency_key` | string | No | Only the group made with this Idempotency-Key (what a request that timed out made). |

## Response

A page of practice groups. Status `200`.

| Name | Type | Description |
| --- | --- | --- |
| `data` | array of object |  |
| `data[].id` | string | An ID that starts with pgr_. |
| `data[].object` | string | Always `practice_group`. |
| `data[].name` | string |  |
| `data[].client_reference` | value | Your own ID for the group; null when none was given. |
| `data[].office_count` | integer | How many offices are in the group. At least -9007199254740991. |
| `data[].mode` | string | One of: `test`, `live`. |
| `data[].created_at` | string (date-time) |  |
| `data[].updated_at` | string (date-time) |  |
| `next_cursor` | value | Pass as cursor to get the next page; null when there is no next page. |

## Errors

| HTTP status | Code | What it means |
| --- | --- | --- |
| 401 | `UNAUTHORIZED` | A valid API key is required. Send it as "Authorization: Bearer <key>". |
| 403 | `PERMISSION_DENIED` | This API key is not allowed to do that. |
| 403 | `FEATURE_NOT_ENABLED` | Practice groups are not enabled for this organization. Ask Claim House to turn them on. |
| 422 | `INVALID_REQUEST` | The request is not valid. |
| 429 | `TOO_MANY_REQUESTS` | Too many requests of this kind lately. Wait, then try again. |
| 504 | `TIMEOUT` | The request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>. |
| 500 | `INTERNAL` | Something went wrong on our side. Quote the request ID if you contact us. |

## Example

### Example request

```bash
curl "https://app.myclaimhouse.com/api/v1/practice_groups?limit=25" \
  -H "Authorization: Bearer $CLAIMHOUSE_KEY"
```

### Example response: 200

```json
{
  "data": [
    {
      "id": "pgr_01JM000000E008000000000090",
      "object": "practice_group",
      "name": "Example North Region",
      "client_reference": "REGION-N",
      "office_count": 1,
      "mode": "test",
      "created_at": "2026-01-20T10:00:00+00:00",
      "updated_at": "2026-01-20T10:00:00+00:00"
    }
  ],
  "next_cursor": null
}
```
