---
title: "Submit availability response on behalf of a coach"
method: PUT
path: "/api/cohorts/{cohortId}/coaches/{coachUserId}/availability-response"
tags: ["Cohort Coaches"]
---

# Submit availability response on behalf of a coach

`PUT /api/cohorts/{cohortId}/coaches/{coachUserId}/availability-response`

## Request

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

Allows a Cohort Manager to add or edit a coach's availability response. Records attribution (who entered it and when).

## Path parameters

- `cohortId` string, uuid, required
- `coachUserId` string, uuid, required

## Request body

- object
  - `interest_status` 'interested' | 'not_interested', required
  - `slot_availability` object
  - `max_groups` integer
  - `is_flexible_groups` boolean

## Response `200`

Availability response saved. Returns full coach detail for modal.

## Other responses

- `400`: Invalid input or validation error
- `404`: Coach or availability request not found
- `500`: Internal server error

---

[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)
