---
title: "Send test availability request email"
method: POST
path: "/api/cohorts/{cohortId}/coaches/availability-request/test-email"
tags: ["Cohort Coaches"]
---

# Send test availability request email

`POST /api/cohorts/{cohortId}/coaches/availability-request/test-email`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/cohorts/{cohortId}/coaches/availability-request/test-email`
- Auth: none declared

Sends a test email to the current user for preview

## Path parameters

- `cohortId` string, uuid, required

## Request body

- object
  - `email_subject` string
  - `email_message` string
  - `response_deadline` string, date-time: Optional CM-selected response deadline; formatted long-form so the test email matches a real send

## Response `200`

Test email sent

## Other responses

- `404`: Cohort 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)
