---
title: "Get invite lock status for a group"
method: GET
path: "/cohorts/{cohortId}/groups/{groupId}/invite-status"
tags: ["Groups"]
---

# Get invite lock status for a group

`GET /cohorts/{cohortId}/groups/{groupId}/invite-status`

## Request

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

Returns the invite status for a group's future sessions. Used to determine if the group's time slot can be edited (MED-648). When all future sessions have invites sent, the time slot is locked.

## Path parameters

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

## Response `200`

Invite status for the group

- object
  - `success` boolean
  - `data` object
    - `totalFutureSessions` integer: Total number of future sessions
    - `invitedSessions` integer: Future sessions with invites already sent
    - `uninvitedSessions` integer: Future sessions without invites sent
    - `isFullyLocked` boolean: Whether time slot editing is fully locked

## 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)
