---
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 — The name of the group
  - `group_type` string — The type of the group - e.g. band
  - `number_of_members` integer — The number of members in the group
  - `customer_count` integer — The number of customers assigned to the group
  - `regular_bookings_count` integer — The number of regular bookings the group has
  - `bookings_count` integer — The number of bookings the group has
  - `created_at` integer — Unix timestamp from epoch - when the group was created
  - `updated_at` integer — Unix timestamp from epoch - when the group was last updated
  - `last_booking_at` integer — Unix timestamp from epoch - when the group last booked
  - `customers` ShortCustomer[] — The customers assigned to the group
    - `name` string, required — The customers given full name
    - `email` string, required — The customers email address
    - `mobile` string — The customers mobile phone number
    - `avatar` string — The customers avatar image URL, if any
    - `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[] — The group's regular bookings
    - `name` string — The name of the regular booking
    - `id` integer — The ID of the regular booking

## Other responses

- `401` — Unauthorized - Invalid API key

---

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