---
title: "Set or clear the cohort's sender address"
method: PUT
path: "/api/cohorts/{id}/sender-email"
tags: ["Cohorts"]
---

# Set or clear the cohort's sender address

`PUT /api/cohorts/{id}/sender-email`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/cohorts/{id}/sender-email`
- Auth: none declared

Body { sender_email string or null }. Empty or null clears it. The domain must be in SENDER_ALLOWED_DOMAINS, otherwise 400.

---

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