---
title: "OAuth Authorization Endpoint"
method: GET
path: "/oauth/authorize"
tags: ["OAuth"]
---

# OAuth Authorization Endpoint

`GET /oauth/authorize`

Initiate OAuth authorization flow and get consent screen information

## Query parameters

- `response_type` 'code', required — OAuth response type, must be 'code'
- `client_id` string, required — Client ID of the OAuth application
- `redirect_uri` string, uri, required — Redirect URI for OAuth callback
- `scope` string, required — Space-separated list of requested scopes
- `state` string, required — Opaque state parameter for CSRF protection
- `code_challenge` string — Code challenge for PKCE (S256)
- `code_challenge_method` 'S256' — Code challenge method, must be S256
- `resource` string, uri — Resource parameter per RFC 9728 — identifies the MCP server

## Response `200`

Application information for consent screen

- object
  - `id` string, uuid, required — Application ID
  - `name` string, required — Application name
  - `description` string, nullable, required — Application description
  - `overview` string, nullable, required — Application overview
  - `developerName` string, nullable, required — The person or company developing this application
  - `logoUrl` string, nullable, required — Application logo URL
  - `website` string, nullable, required — Application website
  - `installUrl` string, nullable, required — An optional URL for installing the application
  - `screenshots` string[], required — Up to 4 screenshots that will be displayed on the apps page
  - `clientId` string, required — Client ID
  - `scopes` string[], required — Requested scopes
  - `redirectUri` string, uri, required — Redirect URI
  - `state` string — Opaque state parameter
  - `status` 'draft' | 'pending' | 'approved' | 'rejected', required — Application verification status

## Other responses

- `400` — Invalid request

---

[API](https://skmtc.net/midday-ai/apis/midday-api.md) · [All operations](https://skmtc.net/midday-ai/apis/midday-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/midday-ai/midday-api/versions/c0df9243c1b0/schema)
