---
title: "Allow a pending OAuth consent"
method: POST
path: "/v1/connected-apps/pending-consents/{id}/allow"
tags: ["Connected Apps"]
---

# Allow a pending OAuth consent

`POST /v1/connected-apps/pending-consents/{id}/allow`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/connected-apps/pending-consents/{id}/allow`
- Auth: HTTP bearer

Grants the pending consent. `scopeTier` defaults to `standard`; with
`custom`, `scopes` names the granted set, and the other tiers define
their own set and ignore `scopes`. An unknown tier or scope, or an
empty granted set, is a 400.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `scopeTier` 'standard' | 'custom' | 'full' | 'full-trust'
  - `scopes` string[]

## Response `200`

Consent allowed

- OkResponse
  - `ok` true, required

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
