---
title: "Consent Decision"
method: POST
path: "/oauth/consent"
---

# Consent Decision

`POST /oauth/consent`

## Request

- Base URL: `https://api.iliad.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.iliad.ai/oauth/consent`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Records the user's consent decision and mints an authorization code.

Returns the client redirect URL; the consent page navigates there.

## Request body

- ConsentDecisionRequest
  - `request` string, required
  - `decision` string, required

## Response `200`

Successful Response

- ConsentDecisionResponse
  - `redirect_url` string, required

## Other responses

- `422`: Validation Error

---

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