---
title: "Ask For Time Off"
method: POST
path: "/api/workforce/time-off"
tags: ["workforce"]
---

# Ask For Time Off

`POST /api/workforce/time-off`

## 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/time-off`
- Auth: none declared

Ask for days off, and get the answer in the same breath.

⛔UNGATED ON PURPOSE, FOR YOURSELF ONLY. Asking for a day off is not a
privilege somebody grants: every person on the roster can ask, and the
principal is taken from the session rather than the body so nobody can
ask on somebody else's behalf by editing a field.

The answer is Rooster's and it is immediate -- the rule is the roster's
own coverage rule, so waiting on a human to apply it would be ceremony.
Frederick, 2026-09-04: "he should always try to optimize an employee's
request if possible", which is why a no comes back with the nearest days
that would be a yes.

## Request body

- TimeOffRequest: Days somebody is asking for, and why if they want to say.
  - `first_day` string, date, required
  - `last_day` string, date, required
  - `note` string, nullable

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