---
title: "Get OAuth consent info"
method: GET
path: "/v1/oauth/authorize"
tags: ["OAuth"]
---

# Get OAuth consent info

`GET /v1/oauth/authorize`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/oauth/authorize`
- Auth: HTTP bearer

Returns information about the platform app requesting authorization so the
UI can display a consent screen. Used by the 1Claw-hosted consent page.

## Query parameters

- `client_id` string, required
- `redirect_uri` string, uri, required
- `response_type` 'code', required
- `scope` string
- `state` string
- `code_challenge` string
- `code_challenge_method` 'S256'
- `nonce` string
- `login_hint` string

## Response `200`

Consent screen data

- OAuthConsentResponse
  - `app_name` string, required
  - `app_slug` string, required
  - `app_logo_url` string, uri, nullable
  - `scopes` string[], required
  - `redirect_uri` string, uri, required
  - `already_consented` boolean, required

## Other responses

- `400`: Invalid client_id, redirect_uri, or response_type

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
