---
title: "Login Denied Flash"
method: GET
path: "/api/auth/login-denied-flash"
tags: ["auth"]
---

# Login Denied Flash

`GET /api/auth/login-denied-flash`

## 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/auth/login-denied-flash`
- Auth: none declared

Resolves a `denied_ref` from the login page's own URL fragment (see
`_create_login_denied_flash`'s docstring) back to the refused email,
EXACTLY once -- the row is deleted by the same statement that reads it,
so a replayed or guessed token answers 404 like one that never existed.
Unauthenticated by construction: the person reading it is, by
definition, not signed in. `token` is a random opaque reference, never
derived from the email, so it carries nothing worth protecting on its
own.

## Query parameters

- `token` 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)
