---
title: "Get sessions needing attendance"
method: GET
path: "/api/coach/sessions/pending-attendance"
tags: ["Coach Portal"]
---

# Get sessions needing attendance

`GET /api/coach/sessions/pending-attendance`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/coach/sessions/pending-attendance`
- Auth: HTTP bearer

Returns sessions that have ended but attendance has not been marked. Used for the attendance callout banner (E8-9).

## Response `200`

List of sessions needing attendance

- object
  - `count` integer: Number of sessions needing attendance
  - `sessions` object[]
    - `id` string, uuid
    - `title` string
    - `session_number` integer
    - `scheduled_start` string, date-time
    - `group_id` string, uuid
    - `group_name` string
    - `cohort_id` string, uuid
    - `cohort_name` string

## Other responses

- `401`: Unauthorized

---

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