---
title: "Set Supervisor Training"
method: POST
path: "/api/workforce/supervisor-training"
tags: ["workforce"]
---

# Set Supervisor Training

`POST /api/workforce/supervisor-training`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/workforce/supervisor-training`
- Auth: none declared

A dated window in which two desk supervisors may share a shift.

Frederick, 2026-09-24: "They always have to work opposite shifts" -- and,
the same day, "Next week I will have Gagandeep work the same shift as
Mark for training." So the exception is a WINDOW with a start, an end
and a reason, set by a manager; the rule applies again by itself the day
after it ends. Gated on people:write, the same grant that publishes a
roster: it changes what a published schedule is allowed to hold.

## Request body

- TrainingWindowBody
  - `trainee_principal_id` string, uuid, required
  - `trainer_principal_id` string, uuid, required
  - `first_day` string, date, required
  - `last_day` string, date, required
  - `reason` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
