---
title: "Execute partner coach CSV upload"
method: POST
path: "/api/cohorts/{cohortId}/coaches/upload"
tags: ["Cohort Coaches"]
---

# Execute partner coach CSV upload

`POST /api/cohorts/{cohortId}/coaches/upload`

## Request

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

Creates new partner coaches, associates existing Medley coaches, and adds all processed coaches to the cohort's potential coach list.

## Path parameters

- `cohortId` string, uuid, required

## Request body

- object
  - `mappings` unknown[], required
    - unknown
  - `csvData` unknown[], required
    - unknown

## Response `200`

Import result

## Other responses

- `400`: Validation error
- `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)
