---
title: "Team Message Gate Log"
method: GET
path: "/api/platform/team-message-gate"
tags: ["platform-admin"]
---

# Team Message Gate Log

`GET /api/platform/team-message-gate`

## 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/platform/team-message-gate`
- Auth: none declared

What the team message gate stopped (MSG-13; Frederick, 2026-11-18: "stop messages that are unrelated to their
job"), newest first: who it was for, the words, the reason, the code that wrote it. Read from `slack_dm_log` (rows
`floor_refused` with a `team_gate:` reason), the same ledger every DM is recorded in, so nothing new is stored to
show it. Owner-only (the same grant as the settings write beside it): the rows hold the words of people's DMs.
`days` is 1 to 14. Since TEAM-GATE-6 (2026-11-19) it also lists `held`: second open asks waiting for room. Since step 2 it also lists `rewritten`: each DM rewritten in the CEO voice, with the original
words (`team_message_rewrites`). The switch and the numbers are the `team_message_gate` setting on this same settings surface.
Runbook `docs/runbooks/TEAM_MESSAGE_GATE.md`.

## Query parameters

- `days` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-18** `abd86e8a326b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/platform/team-message-gate/get.md)

---

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