API
tryapis.com
Find anything
⌘ K
GitHub API Endpoints
actions
activity
apps
billing
checks
code-scanning
codes-of-conduct
emojis
enterprise-admin
gists
git
gitignore
interactions
issues
licenses
markdown
meta
migrations
oauth-authorizations
orgs
packages
projects
pulls
List pull requests
GET
Create a pull request
POST
List review comments in a repository
GET
Get a review comment for a pull request
GET
Update a review comment for a pull request
PATCH
Delete a review comment for a pull request
DELETE
Get a pull request
GET
Update a pull request
PATCH
List review comments on a pull request
GET
Create a review comment for a pull request
POST
Create a reply for a review comment
POST
List commits on a pull request
GET
List pull requests files
GET
Check if a pull request has been merged
GET
Merge a pull request
PUT
List requested reviewers for a pull request
GET
Request reviewers for a pull request
POST
Remove requested reviewers from a pull request
DELETE
List reviews for a pull request
GET
Create a review for a pull request
POST
Get a review for a pull request
GET
Update a review for a pull request
PUT
Delete a pending review for a pull request
DELETE
List comments for a pull request review
GET
Dismiss a review for a pull request
PUT
Submit a review for a pull request
POST
Update a pull request branch
PUT
rate-limit
reactions
repos
scim
search
secret-scanning
teams
users
Get GitHub Actions permissions for an organization
Set GitHub Actions permissions for an organization
List selected repositories enabled for GitHub Actions in an organization
Set selected repositories enabled for GitHub Actions in an organization
Enable a selected repository for GitHub Actions in an organization
Disable a selected repository for GitHub Actions in an organization
Get allowed actions for an organization
Set allowed actions for an organization
List self-hosted runner groups for an organization
Create a self-hosted runner group for an organization
Get a self-hosted runner group for an organization
Update a self-hosted runner group for an organization
Delete a self-hosted runner group from an organization
List repository access to a self-hosted runner group in an organization
Set repository access for a self-hosted runner group in an organization
Add repository access to a self-hosted runner group in an organization
Remove repository access to a self-hosted runner group in an organization
List self-hosted runners in a group for an organization
Set self-hosted runners in a group for an organization
Add a self-hosted runner to a group for an organization
Remove a self-hosted runner from a group for an organization
List self-hosted runners for an organization
List runner applications for an organization
Create a registration token for an organization
Create a remove token for an organization
Get a self-hosted runner for an organization
Delete a self-hosted runner from an organization
List organization secrets
Get an organization public key
Get an organization secret
Create or update an organization secret
Delete an organization secret
List selected repositories for an organization secret
Set selected repositories for an organization secret
Add selected repository to an organization secret
Remove selected repository from an organization secret
List artifacts for a repository
Get an artifact
Delete an artifact
Download an artifact
Get a job for a workflow run
Download job logs for a workflow run
Get GitHub Actions permissions for a repository
Set GitHub Actions permissions for a repository
Get allowed actions for a repository
Set allowed actions for a repository
List self-hosted runners for a repository
List runner applications for a repository
Create a registration token for a repository
Create a remove token for a repository
Get a self-hosted runner for a repository
Delete a self-hosted runner from a repository
List workflow runs for a repository
Get a workflow run
Delete a workflow run
Get the review history for a workflow run
Approve a workflow run for a fork pull request
List workflow run artifacts
Get a workflow run attempt
List jobs for a workflow run attempt
Download workflow run attempt logs
Cancel a workflow run
List jobs for a workflow run
Download workflow run logs
Delete workflow run logs
Get pending deployments for a workflow run
Review pending deployments for a workflow run
Re-run a workflow
Get workflow run usage
List repository secrets
Get a repository public key
Get a repository secret
Create or update a repository secret
Delete a repository secret
List repository workflows
Get a workflow
Disable a workflow
Create a workflow dispatch event
Enable a workflow
List workflow runs
Get workflow usage
List environment secrets
Get an environment public key
Get an environment secret
Create or update an environment secret
Delete an environment secret
List public events
Get feeds
List public events for a network of repositories
List notifications for the authenticated user
Mark notifications as read
Get a thread
Mark a thread as read
Get a thread subscription for the authenticated user
Set a thread subscription
Delete a thread subscription
List public organization events
List repository events
List repository notifications for the authenticated user
Mark repository notifications as read
List stargazers
List watchers
Get a repository subscription
Set a repository subscription
Delete a repository subscription
List repositories starred by the authenticated user
Check if a repository is starred by the authenticated user
Star a repository for the authenticated user
Unstar a repository for the authenticated user
List repositories watched by the authenticated user
List events for the authenticated user
List organization events for the authenticated user
List public events for a user
List events received by the authenticated user
List public events received by a user
List repositories starred by a user
List repositories watched by a user
Get the authenticated app
Create a GitHub App from a manifest
Get a webhook configuration for an app
Update a webhook configuration for an app
List deliveries for an app webhook
Get a delivery for an app webhook
Redeliver a delivery for an app webhook
List installations for the authenticated app
Get an installation for the authenticated app
Delete an installation for the authenticated app
Create an installation access token for an app
Suspend an app installation
Unsuspend an app installation
Delete an app authorization
Check a token
Reset a token
Delete an app token
Create a scoped access token
Get an app
List repositories accessible to the app installation
Revoke an installation access token
Get a subscription plan for an account
List plans
List accounts for a plan
Get a subscription plan for an account (stubbed)
List plans (stubbed)
List accounts for a plan (stubbed)
Get an organization installation for the authenticated app
Create a content attachment
Get a repository installation for the authenticated app
List app installations accessible to the user access token
List repositories accessible to the user access token
Add a repository to an app installation
Remove a repository from an app installation
List subscriptions for the authenticated user
List subscriptions for the authenticated user (stubbed)
Get a user installation for the authenticated app
Get GitHub Actions billing for an enterprise
Get GitHub Packages billing for an enterprise
Get shared storage billing for an enterprise
Get GitHub Actions billing for an organization
Get GitHub Packages billing for an organization
Get shared storage billing for an organization
Get GitHub Actions billing for a user
Get GitHub Packages billing for a user
Get shared storage billing for a user
Create a check run
Get a check run
Update a check run
List check run annotations
Rerequest a check run
Create a check suite
Update repository preferences for check suites
Get a check suite
List check runs in a check suite
Rerequest a check suite
List check runs for a Git reference
List check suites for a Git reference
List code scanning alerts for a repository
Get a code scanning alert
Update a code scanning alert
List instances of a code scanning alert
List code scanning analyses for a repository
Get a code scanning analysis for a repository
Delete a code scanning analysis from a repository
Upload an analysis as SARIF data
Get information about a SARIF upload
Get all codes of conduct
Get a code of conduct
Get emojis
Get GitHub Actions permissions for an enterprise
Set GitHub Actions permissions for an enterprise
List selected organizations enabled for GitHub Actions in an enterprise
Set selected organizations enabled for GitHub Actions in an enterprise
Enable a selected organization for GitHub Actions in an enterprise
Disable a selected organization for GitHub Actions in an enterprise
Get allowed actions for an enterprise
Set allowed actions for an enterprise
List self-hosted runner groups for an enterprise
Create a self-hosted runner group for an enterprise
Get a self-hosted runner group for an enterprise
Update a self-hosted runner group for an enterprise
Delete a self-hosted runner group from an enterprise
List organization access to a self-hosted runner group in an enterprise
Set organization access for a self-hosted runner group in an enterprise
Add organization access to a self-hosted runner group in an enterprise
Remove organization access to a self-hosted runner group in an enterprise
List self-hosted runners in a group for an enterprise
Set self-hosted runners in a group for an enterprise
Add a self-hosted runner to a group for an enterprise
Remove a self-hosted runner from a group for an enterprise
List self-hosted runners for an enterprise
List runner applications for an enterprise
Create a registration token for an enterprise
Create a remove token for an enterprise
Get a self-hosted runner for an enterprise
Delete a self-hosted runner from an enterprise
Get the audit log for an enterprise
List provisioned SCIM groups for an enterprise
Provision a SCIM enterprise group and invite users
Get SCIM provisioning information for an enterprise group
Set SCIM information for a provisioned enterprise group
Update an attribute for a SCIM enterprise group
Delete a SCIM group from an enterprise
List SCIM provisioned identities for an enterprise
Provision and invite a SCIM enterprise user
Get SCIM provisioning information for an enterprise user
Set SCIM information for a provisioned enterprise user
Update an attribute for a SCIM enterprise user
Delete a SCIM user from an enterprise
List gists for the authenticated user
Create a gist
List public gists
List starred gists
Get a gist
Update a gist
Delete a gist
List gist comments
Create a gist comment
Get a gist comment
Update a gist comment
Delete a gist comment
List gist commits
List gist forks
Fork a gist
Check if a gist is starred
Star a gist
Unstar a gist
Get a gist revision
List gists for a user
Create a blob
Get a blob
Create a commit
Get a commit
List matching references
Get a reference
Create a reference
Update a reference
Delete a reference
Create a tag object
Get a tag
Create a tree
Get a tree
Get all gitignore templates
Get a gitignore template
Get interaction restrictions for an organization
Set interaction restrictions for an organization
Remove interaction restrictions for an organization
Get interaction restrictions for a repository
Set interaction restrictions for a repository
Remove interaction restrictions for a repository
Get interaction restrictions for your public repositories
Set interaction restrictions for your public repositories
Remove interaction restrictions from your public repositories
List issues assigned to the authenticated user
List organization issues assigned to the authenticated user
List assignees
Check if a user can be assigned
List repository issues
Create an issue
List issue comments for a repository
Get an issue comment
Update an issue comment
Delete an issue comment
List issue events for a repository
Get an issue event
Get an issue
Update an issue
Add assignees to an issue
Remove assignees from an issue
List issue comments
Create an issue comment
List issue events
List labels for an issue
Add labels to an issue
Set labels for an issue
Remove all labels from an issue
Remove a label from an issue
Lock an issue
Unlock an issue
List timeline events for an issue
List labels for a repository
Create a label
Get a label
Update a label
Delete a label
List milestones
Create a milestone
Get a milestone
Update a milestone
Delete a milestone
List labels for issues in a milestone
List user account issues assigned to the authenticated user
Get all commonly used licenses
Get a license
Get the license for a repository
Render a Markdown document
Render a Markdown document in raw mode
GitHub API Root
Get GitHub meta information
Get Octocat
Get the Zen of GitHub
List organization migrations
Start an organization migration
Get an organization migration status
Download an organization migration archive
Delete an organization migration archive
Unlock an organization repository
List repositories in an organization migration
Get an import status
Start an import
Update an import
Cancel an import
Get commit authors
Map a commit author
Get large files
Update Git LFS preference
List user migrations
Start a user migration
Get a user migration status
Download a user migration archive
Delete a user migration archive
Unlock a user repository
List repositories for a user migration
List your grants
Get a single grant
Delete a grant
List your authorizations
Create a new authorization
Get-or-create an authorization for a specific app
Get-or-create an authorization for a specific app and fingerprint
Get a single authorization
Update an existing authorization
Delete an authorization
List organizations
Get an organization
Update an organization
Get the audit log for an organization
List users blocked by an organization
Check if a user is blocked by an organization
Block a user from an organization
Unblock a user from an organization
List SAML SSO authorizations for an organization
Remove a SAML SSO authorization for an organization
List failed organization invitations
List organization webhooks
Create an organization webhook
Get an organization webhook
Update an organization webhook
Delete an organization webhook
Get a webhook configuration for an organization
Update a webhook configuration for an organization
List deliveries for an organization webhook
Get a webhook delivery for an organization webhook
Redeliver a delivery for an organization webhook
Ping an organization webhook
List app installations for an organization
List pending organization invitations
Create an organization invitation
Cancel an organization invitation
List organization invitation teams
List organization members
Check organization membership for a user
Remove an organization member
Get organization membership for a user
Set organization membership for a user
Remove organization membership for a user
List outside collaborators for an organization
Convert an organization member to outside collaborator
Remove outside collaborator from an organization
List public organization members
Check public organization membership for a user
Set public organization membership for the authenticated user
Remove public organization membership for the authenticated user
List organization memberships for the authenticated user
Get an organization membership for the authenticated user
Update an organization membership for the authenticated user
List organizations for the authenticated user
List organizations for a user
List packages for an organization
Get a package for an organization
Delete a package for an organization
Restore a package for an organization
Get all package versions for a package owned by an organization
Get a package version for an organization
Delete package version for an organization
Restore package version for an organization
List packages for the authenticated user's namespace
Get a package for the authenticated user
Delete a package for the authenticated user
Restore a package for the authenticated user
Get all package versions for a package owned by the authenticated user
Get a package version for the authenticated user
Delete a package version for the authenticated user
Restore a package version for the authenticated user
List packages for a user
Get a package for a user
Delete a package for a user
Restore a package for a user
Get all package versions for a package owned by a user
Get a package version for a user
Delete package version for a user
Restore package version for a user
List organization projects
Create an organization project
Get a project card
Update an existing project card
Delete a project card
Move a project card
Get a project column
Update an existing project column
Delete a project column
List project cards
Create a project card
Move a project column
Get a project
Update a project
Delete a project
List project collaborators
Add project collaborator
Remove user as a collaborator
Get project permission for a user
List project columns
Create a project column
List repository projects
Create a repository project
Create a user project
List user projects
List pull requests
Create a pull request
List review comments in a repository
Get a review comment for a pull request
Update a review comment for a pull request
Delete a review comment for a pull request
Get a pull request
Update a pull request
List review comments on a pull request
Create a review comment for a pull request
Create a reply for a review comment
List commits on a pull request
List pull requests files
Check if a pull request has been merged
Merge a pull request
List requested reviewers for a pull request
Request reviewers for a pull request
Remove requested reviewers from a pull request
List reviews for a pull request
Create a review for a pull request
Get a review for a pull request
Update a review for a pull request
Delete a pending review for a pull request
List comments for a pull request review
Dismiss a review for a pull request
Submit a review for a pull request
Update a pull request branch
Get rate limit status for the authenticated user
List reactions for a team discussion comment
Create reaction for a team discussion comment
Delete team discussion comment reaction
List reactions for a team discussion
Create reaction for a team discussion
Delete team discussion reaction
Delete a reaction (Legacy)
List reactions for a commit comment
Create reaction for a commit comment
Delete a commit comment reaction
List reactions for an issue comment
Create reaction for an issue comment
Delete an issue comment reaction
List reactions for an issue
Create reaction for an issue
Delete an issue reaction
List reactions for a pull request review comment
Create reaction for a pull request review comment
Delete a pull request comment reaction
Create reaction for a release
List reactions for a team discussion comment (Legacy)
Create reaction for a team discussion comment (Legacy)
List reactions for a team discussion (Legacy)
Create reaction for a team discussion (Legacy)
List organization repositories
Create an organization repository
Get a repository
Update a repository
Delete a repository
List all autolinks of a repository
Create an autolink reference for a repository
Get an autolink reference of a repository
Delete an autolink reference from a repository
Enable automated security fixes
Disable automated security fixes
List branches
Get a branch
Get branch protection
Update branch protection
Delete branch protection
Get admin branch protection
Set admin branch protection
Delete admin branch protection
Get pull request review protection
Update pull request review protection
Delete pull request review protection
Get commit signature protection
Create commit signature protection
Delete commit signature protection
Get status checks protection
Update status check protection
Remove status check protection
Get all status check contexts
Add status check contexts
Set status check contexts
Remove status check contexts
Get access restrictions
Delete access restrictions
Get apps with access to the protected branch
Add app access restrictions
Set app access restrictions
Remove app access restrictions
Get teams with access to the protected branch
Add team access restrictions
Set team access restrictions
Remove team access restrictions
Get users with access to the protected branch
Add user access restrictions
Set user access restrictions
Remove user access restrictions
Rename a branch
List repository collaborators
Check if a user is a repository collaborator
Add a repository collaborator
Remove a repository collaborator
Get repository permissions for a user
List commit comments for a repository
Get a commit comment
Update a commit comment
Delete a commit comment
List commits
List branches for HEAD commit
List commit comments
Create a commit comment
List pull requests associated with a commit
Get a commit
Get the combined status for a specific reference
List commit statuses for a reference
Get community profile metrics
Compare two commits
Get repository content
Create or update file contents
Delete a file
List repository contributors
List deployments
Create a deployment
Get a deployment
Delete a deployment
List deployment statuses
Create a deployment status
Get a deployment status
Create a repository dispatch event
Get all environments
Get an environment
Create or update an environment
Delete an environment
List forks
Create a fork
List repository webhooks
Create a repository webhook
Get a repository webhook
Update a repository webhook
Delete a repository webhook
Get a webhook configuration for a repository
Update a webhook configuration for a repository
List deliveries for a repository webhook
Get a delivery for a repository webhook
Redeliver a delivery for a repository webhook
Ping a repository webhook
Test the push repository webhook
List repository invitations
Update a repository invitation
Delete a repository invitation
List deploy keys
Create a deploy key
Get a deploy key
Delete a deploy key
List repository languages
Enable Git LFS for a repository
Disable Git LFS for a repository
Sync a fork branch with the upstream repository
Merge a branch
Get a GitHub Pages site
Create a GitHub Pages site
Update information about a GitHub Pages site
Delete a GitHub Pages site
List GitHub Pages builds
Request a GitHub Pages build
Get latest Pages build
Get GitHub Pages build
Get a DNS health check for GitHub Pages
Get a repository README
Get a repository README for a directory
List releases
Create a release
Get a release asset
Update a release asset
Delete a release asset
Generate release notes content for a release
Get the latest release
Get a release by tag name
Get a release
Update a release
Delete a release
List release assets
Upload a release asset
Get the weekly commit activity
Get the last year of commit activity
Get all contributor commit activity
Get the weekly commit count
Get the hourly commit count for each day
Create a commit status
List repository tags
Download a repository archive (tar)
List repository teams
Get all repository topics
Replace all repository topics
Get repository clones
Get top referral paths
Get top referral sources
Get page views
Transfer a repository
Check if vulnerability alerts are enabled for a repository
Enable vulnerability alerts
Disable vulnerability alerts
Download a repository archive (zip)
Create a repository using a template
List public repositories
List repositories for the authenticated user
Create a repository for the authenticated user
List repository invitations for the authenticated user
Accept a repository invitation
Decline a repository invitation
List repositories for a user
List SCIM provisioned identities
Provision and invite a SCIM user
Get SCIM provisioning information for a user
Update a provisioned organization membership
Update an attribute for a SCIM user
Delete a SCIM user from an organization
Search code
Search commits
Search issues and pull requests
Search labels
Search repositories
Search topics
Search users
List secret scanning alerts by organization
List secret scanning alerts for a repository
Get a secret scanning alert
Update a secret scanning alert
Get an external group
List external groups in an organization
List IdP groups for an organization
List teams
Create a team
Get a team by name
Update a team
Delete a team
List discussions
Create a discussion
Get a discussion
Update a discussion
Delete a discussion
List discussion comments
Create a discussion comment
Get a discussion comment
Update a discussion comment
Delete a discussion comment
Update the connection between an external group and a team
Remove the connection between an external group and a team
List pending team invitations
List team members
Get team membership for a user
Add or update team membership for a user
Remove team membership for a user
List team projects
Check team permissions for a project
Add or update team project permissions
Remove a project from a team
List team repositories
Check team permissions for a repository
Add or update team repository permissions
Remove a repository from a team
List IdP groups for a team
Create or update IdP group connections
List child teams
Get a team (Legacy)
Update a team (Legacy)
Delete a team (Legacy)
List discussions (Legacy)
Create a discussion (Legacy)
Get a discussion (Legacy)
Update a discussion (Legacy)
Delete a discussion (Legacy)
List discussion comments (Legacy)
Create a discussion comment (Legacy)
Get a discussion comment (Legacy)
Update a discussion comment (Legacy)
Delete a discussion comment (Legacy)
List pending team invitations (Legacy)
List team members (Legacy)
Get team member (Legacy)
Add team member (Legacy)
Remove team member (Legacy)
Get team membership for a user (Legacy)
Add or update team membership for a user (Legacy)
Remove team membership for a user (Legacy)
List team projects (Legacy)
Check team permissions for a project (Legacy)
Add or update team project permissions (Legacy)
Remove a project from a team (Legacy)
List team repositories (Legacy)
Check team permissions for a repository (Legacy)
Add or update team repository permissions (Legacy)
Remove a repository from a team (Legacy)
List IdP groups for a team (Legacy)
Create or update IdP group connections (Legacy)
List child teams (Legacy)
List teams for the authenticated user
Get the authenticated user
Update the authenticated user
List users blocked by the authenticated user
Check if a user is blocked by the authenticated user
Block a user
Unblock a user
Set primary email visibility for the authenticated user
List email addresses for the authenticated user
Add an email address for the authenticated user
Delete an email address for the authenticated user
List followers of the authenticated user
List the people the authenticated user follows
Check if a person is followed by the authenticated user
Follow a user
Unfollow a user
List GPG keys for the authenticated user
Create a GPG key for the authenticated user
Get a GPG key for the authenticated user
Delete a GPG key for the authenticated user
List public SSH keys for the authenticated user
Create a public SSH key for the authenticated user
Get a public SSH key for the authenticated user
Delete a public SSH key for the authenticated user
List public email addresses for the authenticated user
List users
Get a user
List followers of a user
List the people a user follows
Check if a user follows another user
List GPG keys for a user
Get contextual information for a user
List public keys for a user
Feedback on this page?
View docs
POST
https://api.github.com/repos/
owner
/
repo
/pulls/
pull_number
/reviews/
review_id
/events
Send
Submit a review for a pull request
Authorization
Path parameters (4)
Body (2)
Authorize
Scopes requested: user, public_repo, repo, notifications, gist
Authorization
tryapis.com never stores your requests or responses
A PROJECT BY
fillout.com