---
title: "Add a participant to cohort"
method: POST
path: "/cohorts/{cohortId}/participants"
tags: ["Participants"]
---

# Add a participant to cohort

`POST /cohorts/{cohortId}/participants`

## Request

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

Create a new participant enrollment. Creates user if email doesn't exist.

## Path parameters

- `cohortId` string, uuid, required

## Request body

- object
  - `email` string, email, required
  - `first_name` string, required
  - `last_name` string, required
  - `personality_type` string
  - `title` string
  - `department` string
  - `location` string
  - `custom_fields` object

## Response `201`

Participant added successfully

## Other responses

- `401`: Unauthorized
- `404`: Cohort not found
- `409`: Participant already enrolled in cohort
- `422`: Validation 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)
