---
title: "Review requests to access organization resources with fine-grained personal access tokens"
method: POST
path: "/orgs/{org}/personal-access-token-requests"
tags: ["orgs"]
---

# Review requests to access organization resources with fine-grained personal access tokens

`POST /orgs/{org}/personal-access-token-requests`

Approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.

Only GitHub Apps can use this endpoint.

## Path parameters

- `org` string, required

## Request body

- object
  - `pat_request_ids` integer[] — Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values.
  - `action` 'approve' | 'deny', required — Action to apply to the requests.
  - `reason` string, nullable — Reason for approving or denying the requests. Max 1024 characters.

## Response `202`

Accepted

- object

## Other responses

- `403` — Forbidden
- `404` — Resource not found
- `422` — Validation failed, or the endpoint has been spammed.
- `500` — Internal Error

---

[API](https://skmtc.net/github/apis/rest-api.md) · [All operations](https://skmtc.net/github/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/rest-api/versions/80850db290cd/schema)
