---
title: "Find all groups"
method: GET
path: "/groups.json"
tags: ["Group Endpoints"]
---

# Find all groups

`GET /groups.json`

Returns all groups

## Headers

- `Authorization` string, required

## Response `200`

successful operation

- Group[]
  - `name` string
  - `group_type` string
  - `number_of_members` integer
  - `customers` ShortCustomer[]
    - `name` string, required
    - `email` string
    - `mobile` string
    - `avatar` string
    - `reminders_opt_in` boolean — Whether this customer wants to receive reminders
    - `mailing_list_opt_in` boolean — Whether this customer wants to be on the mailing list
  - `regular_bookings` object[]
    - `name` string
    - `id` integer
  - `customer_count` integer
  - `regular_bookings_count` integer
  - `bookings_count` integer
  - `created_at` integer
  - `updated_at` integer
  - `last_booking_at` integer

## Other responses

- `401` — Unauthorized - Invalid API key

## Changes

- **2022-05-05** (v2) `95c52cb13f9a` — 1 breaking
  - the response property `items/customers/items/email` became optional for the status `200`

[Change history](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/changes/groups.json/get.md)

---

[API](https://skmtc.dev/jammed-org/apis/jammed-bookings-api.md) · [All operations](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jammed-org/jammed-bookings-api/revisions/9331d0ba9538/schema)
