---
title: "Consent"
method: POST
path: "/oauth/authorize/consent"
tags: ["oauth-mcp"]
---

# Consent

`POST /oauth/authorize/consent`

## Request

- Base URL: `https://api.meetadmiral.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.meetadmiral.com/oauth/authorize/consent`
- Auth: none declared

A signed-in person says yes, for one named ad account.

Called by the consent screen with the person's own Admiral session. The
account is checked against the orgs that person belongs to — a consent
screen is a form, and a form can be posted with any account id in it.

## Request body

- ConsentBody
  - `client_id` string, required
  - `redirect_uri` string, required
  - `code_challenge` string, required
  - `account_id` string, uuid, required
  - `state` string
  - `resource` string, nullable
  - `scope` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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