Available Endpoints
Note: To access the API with your integration, you must provide a custom media type in the Accept Header for your requests.
application/vnd.github.machine-man-preview+json
The following endpoints are available for use by GitHub Apps. Your app can make the following requests using GraphQL v4 or REST v3 endpoints. For more information, see "GitHub Apps."
Review Requests
Review Comments
- List comments on a pull request
- List comments in a repository
- Get a single comment
- Create a comment
- Edit a comment
- Delete a comment
Reviews
- List reviews on a pull request
- Get a single review
- Delete a pending review
- Get comments for a single review
- Create a pull request review
- Submit a pull request review
- Dismiss a pull request review
Source Imports
- Start an import
- Get import progress
- Update existing import
- Get commit authors
- Map a commit author
- Set Git LFS preference
- Get large files
- Cancel an import
Team Members
- List team members
- Get team member
- Add team member
- Remove team member
- Get team membership
- Add or update team membership
- Remove team membership
- List pending team invitations
Team Discussions
Team Discussion Comments
Users
Installations
GitHub Apps
- Get a single GitHub App
- Get the authenticated GitHub App
- Find installations
- Get a single installation
- Create a new installation token
Miscellaneous
Git Commits
Git Trees
Git Tags
Git References
Git Blobs
Emojis
Public Keys
GPG Keys
Followers
Teams
- List teams
- Get team
- Create team
- Edit team
- Delete team
- List child teams
- List team repos
- Check if a team manages a repository
Milestones
- List milestones for a repository
- Get a single milestone
- Create a milestone
- Update a milestone
- Delete a milestone
Timeline
Events
- List events for an issue
- List events for a repository
- Get a single event
- List public events
- List repository events
- List public events for a network of repositories
- List public events for an organization
- List events that a user has received
- List public events that a user has received
- List events performed by a user
- List public events performed by a user
Comments
- List comments on an issue
- List comments in a repository
- Get a single comment
- Create a comment
- Edit a comment
- Delete a comment
- List commit comments for a repository
- List comments for a single commit
- Create a commit comment
- Get a single commit comment
- Update a commit comment
- Delete a commit comment
Assignees
Labels
- List all labels for this repository
- Get a single label
- Create a label
- Update a label
- Delete a label
- List labels on an issue
- Add labels to an issue
- Remove a label from an issue
- Replace all labels for an issue
- Remove all labels from an issue
- Get labels for every issue in a milestone
Projects
- List repository projects
- List organization projects
- Get a project
- Create a repository project
- Create an organization project
- Update a project
- Delete a project
Organizations
Reactions
- List reactions for a commit comment
- List reactions for an issue
- List reactions for an issue comment
- List reactions for a pull request review comment
- List reactions for a team discussion
- List reactions for a team discussion comment
Licenses
Members
- Members list
- Check membership
- Remove a member
- Public members list
- Check public membership
- Get organization membership
- Add or update organization membership
- Remove organization membership
- List pending organization invitations
Outside Collaborators
Search
- Search repositories
- Search commits
- Search code
- Search issues
- Search users
- Search topics
- Search labels
Repositories
- List user repositories
- List organization repositories
- List all public repositories
- Create
- Get
- Edit
- List all topics for a repository
- Replace all topics for a repository
- List contributors
- List languages
- List teams
- List tags
- Delete a repository
Rate Limit
Project cards
- List project cards
- Get a project card
- Create a project card
- Update a project card
- Delete a project card
- Move a project card
Project columns
- List project columns
- Get a project column
- Create a project column
- Update a project column
- Delete a project column
- Move a project column
Deploy Keys
Downloads
Branches
- List branches
- Get branch
- Get branch protection
- Update branch protection
- Remove branch protection
- Get required status checks of protected branch
- Update required status checks of protected branch
- Remove required status checks of protected branch
- List required status checks contexts of protected branch
- Replace required status checks contexts of protected branch
- Add required status checks contexts of protected branch
- Remove required status checks contexts of protected branch
- Get pull request review enforcement of protected branch
- Update pull request review enforcement of protected branch
- Remove pull request review enforcement of protected branch
- Get required signatures of protected branch
- Add required signatures of protected branch
- Remove required signatures of protected branch
- Get admin enforcement of protected branch
- Add admin enforcement of protected branch
- Remove admin enforcement of protected branch
- Get restrictions of protected branch
- Remove restrictions of protected branch
- List team restrictions of protected branch
- Replace team restrictions of protected branch
- Add team restrictions of protected branch
- Remove team restrictions of protected branch
- List user restrictions of protected branch
- Replace user restrictions of protected branch
- Add user restrictions of protected branch
- Remove user restrictions of protected branch
Commits
- List commits on a repository
- Get a single commit
- Get the SHA-1 of a commit reference
- Compare two commits
Statistics
- Get contributors list with additions, deletions, and commit counts
- Get the last year of commit activity data
- Get the number of additions and deletions per week
- Get the weekly commit count for the repository owner and everyone else
- Get the number of commits per hour in each day
Pages
- Get information about a Pages site
- Request a page build
- List Pages builds
- Get latest Pages build
- Get a specific Pages build
Community Profile
Repository Invitations
Releases
- List releases for a repository
- Get a single release
- Get the latest release
- Get a release by tag name
- Create a release
- Edit a release
- Delete a release
- List assets for a release
- Upload a release asset
- Get a single release asset
- Edit a release asset
- Delete a release asset
Forks
Contents
Statuses
Collaborators
- List collaborators
- Check if a user is a collaborator
- Review a user's permission level
- Add user as a collaborator
- Remove user as a collaborator
Merging
Deployments
- List deployments
- Get a single deployment
- Create a deployment
- List deployment statuses
- Get a single deployment status
- Create a deployment status
Traffic
Overview
Issues
- List issues for a repository
- Get a single issue
- Create an issue
- Edit an issue
- Lock an issue
- Unlock an issue
Watching
Starring
Feeds
Codes of Conduct
- List all codes of conduct
- Get an individual code of conduct
- Get a repository's code of conduct
- Get the contents of a repository's code of conduct
Pull Requests
- List pull requests
- Get a single pull request
- Create a pull request
- Update a pull request
- List commits on a pull request
- List pull requests files
- Get if a pull request has been merged
- Merge a pull request (Merge Button)

