---
title: "Approve OAuth2 authorization request"
method: POST
path: "/oauth/authorize/approve"
tags: ["oauth"]
---

# Approve OAuth2 authorization request

`POST /oauth/authorize/approve`

Issues an authorization code after the authenticated user approves the request. Called by the frontend consent page. Requires authentication.

## Response `200`

JSON body with redirect_uri the frontend should navigate the browser to

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

- **2026-05-27** `a0acb3a6a101` — 1 info
  - added the new optional request property `workspace_id`
- **2026-04-30** `99490d1e837e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/oauth/authorize/approve/post.md)

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
