---
title: "Mark attendance for a cohort event (coach)"
method: POST
path: "/api/coach/cohorts/{cohortId}/events/{eventId}/attendance"
tags: ["Coach Portal"]
---

# Mark attendance for a cohort event (coach)

`POST /api/coach/cohorts/{cohortId}/events/{eventId}/attendance`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/coach/cohorts/{cohortId}/events/{eventId}/attendance`
- Auth: none declared

Coaches can mark attendance for cohort events they are invited to (MED-642 AC7)

## Path parameters

- `cohortId` string, uuid, required
- `eventId` string, uuid, required

## Request body

- object
  - `attendance` object[], required
    - `email` string, required
    - `status` 'attended' | 'partial' | 'absent', required

## Response `200`

Attendance marked successfully

## Other responses

- `400`: Event has not ended or invalid input
- `401`: Unauthorized
- `404`: Event 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)
