---
title: "ALR-02 — assign an open alert to a coach (or unassign with null). The coach gets a push unless they assigned it themselves. Every coach still sees it."
method: PATCH
path: "/api/coach/client-alerts/{alertId}/assignee"
tags: ["Coach"]
---

# ALR-02 — assign an open alert to a coach (or unassign with null). The coach gets a push unless they assigned it themselves. Every coach still sees it.

`PATCH /api/coach/client-alerts/{alertId}/assignee`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/coach/client-alerts/{alertId}/assignee`
- Auth: HTTP bearer

## Path parameters

- `alertId` number, required

## Request body

- AssignAlertDto
  - `assigneeId` object, nullable, required: An active coach's user id, or null to unassign

## Response `200`

## Changes

- **2026-10-19** `0c72870a5acb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/coach/client-alerts/:alertId/assignee/patch.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
