---
title: "Returns a pending OAuth connection request for the consent page (Roles: user)"
method: GET
path: "/oauth/requests/{request_id}"
tags: ["OAuth"]
---

# Returns a pending OAuth connection request for the consent page (Roles: user)

`GET /oauth/requests/{request_id}`

## Request

- Base URL: `https://api.ludo.ai/api`
- URL: `https://api.ludo.ai/api/oauth/requests/{request_id}`
- Auth: API key in header `Authorization`

## Path parameters

- `request_id` string, required

## Response `200`

Success

- OAuthRequest
  - `status` 'pending' | 'approved' | 'denied'
  - `client_name` string: The name the app registered with. Self-declared, so the page shows redirect_host too.
  - `redirect_host` string: Where approving sends the browser, e.g. chatgpt.com.
  - `scope` string
  - `requested_at` integer
  - `api_access` boolean: Whether the user's plan includes API access, which connecting needs.
  - `plan_name` string

## Other responses

- `404`: Unknown or expired request

## Changes

- **2026-10-28** `d69f1df2a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ludo/apis/ludo-ai-api/changes/oauth/requests/:request_id/get.md)

---

[API](https://skmtc.dev/ludo/apis/ludo-ai-api.md) - [All operations](https://skmtc.dev/ludo/apis/ludo-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ludo/apis/ludo-ai-api/revisions/4efeb12a23c9?raw)
