---
title: "CMP-06/CMP-07 — set this coach's own colour tag and/or pin for a client. Never a restriction — every coach still sees every client. A pin also routes the client's alerts: while one coach has them pinned, new alerts are assigned to that coach (ALR-02, 12 Oct 2026)."
method: PATCH
path: "/api/coach/clients/{id}/overlay"
tags: ["Coach"]
---

# CMP-06/CMP-07 — set this coach's own colour tag and/or pin for a client. Never a restriction — every coach still sees every client. A pin also routes the client's alerts: while one coach has them pinned, new alerts are assigned to that coach (ALR-02, 12 Oct 2026).

`PATCH /api/coach/clients/{id}/overlay`

## 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/clients/{id}/overlay`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Request body

- SetOverlayDto
  - `colourCode` 'red' | 'amber' | 'green', nullable
  - `isPinned` boolean
  - `notificationPriority` object, nullable

## Response `200`

## Changes

- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/coach/clients/:id/overlay/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)
