---
title: "Get a group by ID"
method: GET
path: "/cohorts/{cohortId}/groups/{groupId}"
tags: ["Groups"]
---

# Get a group by ID

`GET /cohorts/{cohortId}/groups/{groupId}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/groups/{groupId}`
- Auth: none declared

Returns a single group with its members

## Path parameters

- `cohortId` string, uuid, required
- `groupId` string, uuid, required

## Response `200`

Group details

- object
  - `success` boolean
  - `data` GroupWithMembers
    - `id` string, uuid
    - `cohort_id` string, uuid
    - `name` string
    - `description` string
    - `max_size` integer
    - `coach_id` string, uuid
    - `is_active` boolean
    - `member_count` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `members` GroupMember[]
      - `user_id` string, uuid
      - `first_name` string
      - `last_name` string
      - `email` string
      - `title` string
      - `joined_at` string, date-time

## Other responses

- `404`: Cohort or group not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
