---
title: "List all groups"
method: GET
path: "/v2/groups"
tags: ["Groups"]
---

# List all groups

`GET /v2/groups`

Returns a list of your groups. The groups are returned sorted by creation date, with the most recent groups appearing first.

## Query parameters

- `min_created` integer
- `max_created` integer
- `min_updated` integer
- `max_updated` integer
- `limit` integer
- `starting_after` string
- `ending_before` string

## Response `200`

Returns a list of your groups. The groups are returned sorted by creation date, with the most recent groups appearing first.

- object
  - `data` object, required
    - `has_more` boolean
    - `items` object[]
      - `created_at` integer — Immutable Unix timestamp in milliseconds taken at time of creation
      - `key` string — A unique identifier used to reference the object
      - `updated_at` integer — Unix timestamp in milliseconds taken at time of last update
      - `archived` boolean, nullable — Whether or not this group is still active
      - `default` boolean — Whether this is the default Group for partners to join
      - `features` object, nullable — Features that partners within this group have access too
      - `is_widget_group` boolean, nullable — Whether this is the current referral widget group
      - `name` string — The name of this Group as presented to partners
      - `slug` string, nullable — The slugified version of this groups name to be added to routes
  - `message` string, required
  - `status` integer, required

## Other responses

- `400` — Bad Request Error
- `401` — Unauthorized Error
- `403` — Forbidden Error
- `404` — Not Found Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/partnerstack/apis/partnerstack-api.md) · [All operations](https://skmtc.dev/partnerstack/apis/partnerstack-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/partnerstack/partnerstack-api/revisions/0f35aebe53a9/schema)
