---
title: "Get absence email history for a participant"
method: GET
path: "/cohorts/{cohortId}/participants/{participantId}/absence-email-history"
tags: ["Participants"]
---

# Get absence email history for a participant

`GET /cohorts/{cohortId}/participants/{participantId}/absence-email-history`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/participants/{participantId}/absence-email-history`
- Auth: HTTP bearer

Returns all sent absence emails for a participant across all sessions in the cohort, ordered by most recent first. Only includes emails with status "sent".

## Path parameters

- `cohortId` string, uuid, required
- `participantId` string, uuid, required

## Response `200`

List of sent absence emails for the participant

- object
  - `status` string
  - `data` object[]
    - `id` string, uuid
    - `session_number` integer
    - `session_date` string, date-time
    - `template_name` string, nullable
    - `rendered_subject` string, nullable
    - `rendered_body` string, nullable
    - `sent_at` string, date-time
    - `sent_by_name` string, nullable

## Other responses

- `401`: Unauthorized
- `404`: Cohort or participant 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)
