---
title: "Decide"
method: POST
path: "/v1/oauth2/authorize/decision"
tags: ["oauth"]
---

# Decide

`POST /v1/oauth2/authorize/decision`

## Request

- Base URL: `https://api.mundane.market` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mundane.market/v1/oauth2/authorize/decision`
- Auth: none declared

Allow or Deny, from the consent page only (Origin check + one-time nonce).

Returns the URL to send the browser to rather than a 302, because the page
calls this with fetch and a redirect to chatgpt.com or a loopback port is
not something fetch should follow.

## Headers

- `origin` string, nullable
- `authorization` string

## Cookies

- `mundane_principal_session` string, nullable

## Request body

- Decision
  - `request_id` string, required
  - `nonce` string, required
  - `allow` boolean, required
  - `adult` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mundane/apis/mundane-api.md) · [All operations](https://skmtc.dev/mundane/apis/mundane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mundane/apis/mundane-api/revisions/f1cba6e69834?raw)
