---
title: "Submit the user's consent decision. If ``confirm`` is present in"
method: POST
path: "/v1/oauth/authorize/"
---

# Submit the user's consent decision. If \`\`confirm\`\` is present in

`POST /v1/oauth/authorize/`

## Request

- Base URL: `https://app.iconik.io/API/auth`
- URL: `https://app.iconik.io/API/auth/v1/oauth/authorize/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-auth/docs/v1/oauth/authorize/post.ts> (a function with typed inputs; its response is checked against the schema)

the form body the authorization code is minted; otherwise the<br/>request is denied (``error=access_denied``).

## Query parameters

- `client_id` string, required
- `redirect_uri` string, required
- `scope` string, required
- `response_type` string, required
- `code_challenge` string, required
- `code_challenge_method` string

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `200`

Redirect URI containing the authorization code.

- OAuth2AuthorizeResponseSchema
  - `redirect_uri` string, required

## Other responses

- `400`: Bad request (invalid client_id, redirect_uri, scope, etc.)
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-auth.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-auth/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-auth/revisions/5dde985bb742?raw)
