---
title: "Approve or deny a verification OAuth connection"
method: POST
path: "/api/v1/mcp/oauth/consent"
tags: ["mcp"]
---

# Approve or deny a verification OAuth connection

`POST /api/v1/mcp/oauth/consent`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/mcp/oauth/consent`
- Auth: HTTP bearer

## Request body

- object
  - `request` string, required
  - `approve` boolean, required
  - `organization_id` string
  - `all_organizations` boolean: Approve access to all organizations the signed-in user can access, including future memberships. Defaults to false; otherwise organization_id is required.

## Response `200`

Validated client callback URL

- object
  - `redirect_url` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
