# GitHub Enterprise Pulls API

**Canonical:** https://apis.io/apis/github-enterprise/github-enterprise-pulls-api/  
**Provider:** GitHub Enterprise — https://apis.io/providers/github-enterprise/  
**Base URL:** https://api.github.com  
**Documentation:** https://docs.github.com/en/enterprise-cloud@latest/rest

GitHub Enterprise Pulls API is one of 58 APIs that [GitHub Enterprise](https://apis.io/providers/github-enterprise/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 8 JSON Schema definitions. Tagged areas include Pulls. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

Interact with GitHub Pull Requests.

## Operations (35)

| Method | Path | Summary |
|---|---|---|
| GET | `/repos/{owner}/{repo}/pulls` | List pull requests |
| POST | `/repos/{owner}/{repo}/pulls` | Create a pull request |
| GET | `/repos/{owner}/{repo}/pulls/comments` | List review comments in a repository |
| GET | `/repos/{owner}/{repo}/pulls/comments/{comment_id}` | Get a review comment for a pull request |
| PATCH | `/repos/{owner}/{repo}/pulls/comments/{comment_id}` | Update a review comment for a pull request |
| DELETE | `/repos/{owner}/{repo}/pulls/comments/{comment_id}` | Delete a review comment for a pull request |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}` | Get a pull request |
| PATCH | `/repos/{owner}/{repo}/pulls/{pull_number}` | Update a pull request |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/comments` | List review comments on a pull request |
| POST | `/repos/{owner}/{repo}/pulls/{pull_number}/comments` | Create a review comment for a pull request |
| POST | `/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies` | Create a reply for a review comment |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/commits` | List commits on a pull request |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/files` | List pull requests files |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/merge` | Check if a pull request has been merged |
| PUT | `/repos/{owner}/{repo}/pulls/{pull_number}/merge` | Merge a pull request |
| PUT | `/repos/{owner}/{repo}/pulls/{pull_number}/merge-async` | Merge a pull request asynchronously |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}` | Get the result of an asynchronous merge |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers` | Get all requested reviewers for a pull request |
| POST | `/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers` | Request reviewers for a pull request |
| DELETE | `/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers` | Remove requested reviewers from a pull request |
| POST | `/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers/rerequest` | Rerequest reviewers for a pull request |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/reviews` | List reviews for a pull request |
| POST | `/repos/{owner}/{repo}/pulls/{pull_number}/reviews` | Create a review for a pull request |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}` | Get a review for a pull request |
| PUT | `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}` | Update a review for a pull request |
| DELETE | `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}` | Delete a pending review for a pull request |
| GET | `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments` | List comments for a pull request review |
| PUT | `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals` | Dismiss a review for a pull request |
| POST | `/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events` | Submit a review for a pull request |
| PUT | `/repos/{owner}/{repo}/pulls/{pull_number}/update-branch` | Update a pull request branch |
| GET | `/repos/{owner}/{repo}/stacks` | List pull request stacks |
| POST | `/repos/{owner}/{repo}/stacks` | Create a pull request stack |
| GET | `/repos/{owner}/{repo}/stacks/{stack_number}` | Get a pull request stack |
| POST | `/repos/{owner}/{repo}/stacks/{stack_number}/add` | Add pull requests to a pull request stack |
| POST | `/repos/{owner}/{repo}/stacks/{stack_number}/unstack` | Remove pull requests from a pull request stack |

## Machine-readable artifacts (16)

- **OpenAPI** — https://artifacts.apis.io/github-enterprise/openapi/github-enterprise-pulls-api-openapi.yml
- **Documentation** — https://docs.github.com/en/enterprise-cloud@latest/rest
- **RateLimits** — https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-full-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-app-permissions-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-team-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-minimal-repository-schema.json
- **Authentication** — https://docs.github.com/en/enterprise-cloud@latest/rest/overview/authenticating-to-the-rest-api
- **Documentation** — https://docs.github.com/en/enterprise-cloud@latest/graphql
- **GraphQL** — https://artifacts.apis.io/github-enterprise/graphql/github-enterprise-graphql.md
- **Documentation** — https://docs.github.com/en/enterprise-server@latest/rest
- **Documentation** — https://docs.github.com/en/enterprise-server@latest/graphql
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-pull-request-schema.json

## Other GitHub Enterprise APIs (12)

- [GitHub Enterprise Cloud GraphQL API](https://apis.io/apis/github-enterprise/github-enterprise-graphql-api/)
- [GitHub MCP Server](https://apis.io/apis/github-enterprise/github-mcp-server/)
- [GitHub Enterprise Actions API](https://apis.io/apis/github-enterprise/github-enterprise-actions-api/)
- [GitHub Enterprise Code Scanning API](https://apis.io/apis/github-enterprise/github-enterprise-code-scanning-api/)
- [GitHub Enterprise Admin API](https://apis.io/apis/github-enterprise/github-enterprise-enterprise-admin-api/)
- [GitHub Enterprise Issues API](https://apis.io/apis/github-enterprise/github-enterprise-issues-api/)
- [GitHub Enterprise SCIM API](https://apis.io/apis/github-enterprise/github-enterprise-scim-api/)
- [GitHub Enterprise Users API](https://apis.io/apis/github-enterprise/github-enterprise-users-api/)
- [GitHub Enterprise Activity API](https://apis.io/apis/github-enterprise/github-enterprise-activity-api/)
- [GitHub Enterprise Agent Automations API](https://apis.io/apis/github-enterprise/github-enterprise-agent-automations-api/)
- [GitHub Enterprise Agent Merge API](https://apis.io/apis/github-enterprise/github-enterprise-agent-merge-api/)
- [GitHub Enterprise Agent Tasks API](https://apis.io/apis/github-enterprise/github-enterprise-agent-tasks-api/)

## Tags

Pulls

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/github-enterprise/github-enterprise-pulls-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/github-enterprise/.
