---
title: "Mark attendance for a cohort event"
method: POST
path: "/cohorts/{cohortId}/events/{eventId}/attendance"
tags: ["Cohort Events"]
---

# Mark attendance for a cohort event

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

## Request

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

Records attendance for every required person on the roster. Available once the event has started. Sets event status to COMPLETED (MED-1349).

## Path parameters

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

## Request body

- object
  - `attendance` object[], required
    - `email` string, email, required
    - `user_id` string, uuid
    - `invitation_id` string, uuid
    - `status` 'attended' | 'partial' | 'absent', required
    - `absent_reason` 'business_conflict' | 'personal_conflict' | 'no_notice'
    - `notes` string
  - `cleared_user_ids` string[]: Users whose saved status the CM cleared. Only these saved rows are removed; a person left out of attendance keeps the saved row.

## Response `200`

Attendance marked successfully

## Other responses

- `400`: Event has not started, a required person has no status, an attendee is not on the roster, or an absence has no reason
- `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)
