---
title: "Approves an OAuth connection request; returns where to send the browser (Roles: user)"
method: POST
path: "/oauth/requests/{request_id}/approve"
tags: ["OAuth"]
---

# Approves an OAuth connection request; returns where to send the browser (Roles: user)

`POST /oauth/requests/{request_id}/approve`

## Request

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

## Path parameters

- `request_id` string, required

## Response `200`

Success

- OAuthAnswer
  - `redirect_url` string: Where to send the browser next (the app's redirect URI, with the code or the error).

## Other responses

- `402`: The plan has no API access
- `404`: Unknown or expired request
- `409`: Already approved or denied

## Changes

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

[Operation history](https://skmtc.dev/ludo/apis/ludo-ai-api/changes/oauth/requests/:request_id/approve/post.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)
