---
title: "Lookup Pending"
method: GET
path: "/api/v1/auth/oauth-requests"
tags: ["mcp"]
---

# Lookup Pending

`GET /api/v1/auth/oauth-requests`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/auth/oauth-requests`
- Auth: none declared

Resolve a code so the app can show WHAT is being approved.

A 404 covers unknown, expired and already-answered alike — telling them
apart would let someone probe the code space for live requests.

## Query parameters

- `user_code` string, required

## Headers

- `authorization` string, nullable
- `x-dev-user-id` string, nullable
- `x-app-version` string, nullable

## Response `200`

Successful Response

- PendingRequestInfo: What the app shows before asking "approve?".
  - `user_code` string, required
  - `client_name` string, required: From the client's own metadata document — display it as an untrusted claim, not as a verified identity.
  - `client_id` string, required
  - `scopes` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
