---
title: "Submit availability response"
method: POST
path: "/api/coach/availability-requests/{requestId}/respond"
tags: ["Coach Portal"]
---

# Submit availability response

`POST /api/coach/availability-requests/{requestId}/respond`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/coach/availability-requests/{requestId}/respond`
- Auth: HTTP bearer

Submit coach availability response for a specific request.

## Path parameters

- `requestId` string, uuid, required

## Request body

- object
  - `interest_status` 'interested' | 'not_interested', required
  - `slot_availability` object: Per-slot availability (required if interested)
  - `max_groups` integer: Number of groups the coach is willing to take (mutually exclusive with is_flexible_groups)
  - `is_flexible_groups` boolean: If true, coach is willing to take as many groups as needed (mutually exclusive with max_groups)
  - `additional_notes` string

## Response `200`

Response submitted successfully

## Other responses

- `400`: Invalid request or already responded
- `401`: Unauthorized
- `404`: Request 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)
