---
title: "Get attendance records for a session"
method: GET
path: "/api/coach/sessions/{sessionId}/attendance"
tags: ["Coach Portal"]
---

# Get attendance records for a session

`GET /api/coach/sessions/{sessionId}/attendance`

## Request

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

Returns current attendance records and summary for a session.

## Path parameters

- `sessionId` string, uuid, required

## Response `200`

Attendance records with summary

- object
  - `session_id` string, uuid
  - `session_title` string
  - `is_marked` boolean
  - `summary` object
    - `total` integer
    - `attended` integer
    - `partial` integer
    - `absent` integer
    - `pending` integer
    - `percentage` number
  - `attendees` SessionAttendance[] (unresolved $ref)

## Other responses

- `401`: Unauthorized
- `404`: Session 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)
