---
title: "Approve"
method: POST
path: "/oauth/approve"
tags: ["oauth"]
---

# Approve

`POST /oauth/approve`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/oauth/approve`
- Auth: HTTP bearer

The signed-in user clicked Allow on the consent page. Issues the
authorization code and returns the exact URL to redirect the browser to.
Browser-session-only (get_jwt_user) — an API key must not grant grants.

## Request body

- ApproveRequest
  - `client_id` string, required
  - `redirect_uri` string, required
  - `code_challenge` string, required
  - `code_challenge_method` string, required
  - `state` string, nullable
  - `scope` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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