---
title: "Consent page (authorization code + PKCE)"
method: GET
path: "/oauth/authorize"
tags: ["OAuth"]
---

# Consent page (authorization code + PKCE)

`GET /oauth/authorize`

## Request

- Base URL: `https://platform.anpheros.com`
- URL: `https://platform.anpheros.com/oauth/authorize`
- Auth: none declared

## Query parameters

- `response_type` string, required
- `client_id` string, required
- `redirect_uri` string, required
- `scope` string, nullable
- `state` string, required
- `code_challenge` string, required
- `code_challenge_method` string
- `purpose` string, nullable
- `patient` string, nullable
- `lang` string
- `resource` string, nullable

## Response `200`

Successful Response

## Other responses

- `401`: Missing, invalid, expired or revoked credential (`WWW-Authenticate: Bearer`).
- `422`: Validation Error

---

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