🌐
GitHub
docs.github.com › en › rest
GitHub REST API documentation - GitHub Docs
The GitHub REST API is fully described in an OpenAPI compliant document.
GitHub Docs
Get started, troubleshoot, and make the most of GitHub. Documentation for new users, developers, administrators, and all of GitHub's products.
Quickstart
For more information, see the GitHub CLI api documentation. This example makes a request to the "Get Octocat" endpoint, which uses the method GET and the path /octocat. For the full reference documentation for this endpoint, see REST API endpoints for meta data.
Authenticating
If you are using a fine-grained personal access token, your fine-grained personal access token requires specific permissions in order to access each REST API endpoint. The REST API reference document for each endpoint states whether the endpoint works with fine-grained personal access tokens ...
Permissions for fine-grained PATs
For more information, see Troubleshooting the REST API. These permissions are required to access private resources. Some endpoints can also be used to access public resources without these permissions. To see whether an endpoint can access public resources without a permission, see the documentation ...
🌐
GitHub
docs.github.com › en › rest › about-the-rest-api › about-the-rest-api
About the REST API - GitHub Docs
Each REST API endpoint is documented individually, and the endpoints are categorized by the resource that they primarily affect.
🌐
GitHub
docs.github.com › rest › guides › getting-started-with-the-rest-api
Getting started with the REST API - GitHub Docs
The HTTP method of an endpoint defines the type of action it performs on a given resource. Some common HTTP methods are GET, POST, DELETE, and PATCH. The REST API reference documentation provides the HTTP method for every endpoint.
🌐
GitHub
docs.github.com › en › rest › quickstart
Quickstart for GitHub REST API - GitHub Docs
Use octokit.request to execute your request. Send the HTTP method and path as the first argument. Specify any path, query, and body parameters in an object as the second argument.
🌐
GitHub
docs.github.com › en › rest › repos
REST API endpoints for repositories - GitHub Docs
Use the REST API to create, manage and control the workflow of public and private GitHub repositories.
🌐
GitHub
docs.github.com › en › rest › repos › contents
REST API endpoints for repository contents - GitHub Docs
Use the REST API to create, modify, and delete Base64 encoded content in a repository.
🌐
GitHub
docs.github.com › en › rest › using-the-rest-api
Using the REST API - GitHub Docs
You can make API requests across domains using cross-origin resource sharing (CORS) and JSONP callbacks. For the REST APIs for issue events and timeline events, learn about each event type, the triggering action on GitHub, and each event's unique ...
🌐
GitHub
docs.github.com › en › enterprise-cloud@latest › rest › about-the-rest-api › about-the-rest-api
About the REST API - GitHub Enterprise Cloud Docs
Each REST API endpoint is documented individually, and the endpoints are categorized by the resource that they primarily affect.
Find elsewhere
🌐
GitHub
github.com › github › docs › blob › main › content › rest › index.md
docs/content/rest/index.md at main · github/docs
GitHub REST API documentation · shortTitle · REST API · intro · Create integrations, retrieve data, and automate your workflows with the {% data variables.product.prodname_dotcom %} REST API. introLinks · overview · quickstart · /rest/about-the-rest-api/about-the-rest-api ·
Author: github
🌐
Public APIs
publicapis.io › home › development › github
GitHub API — API Key, Docs & Examples | PublicAPIs.io
Once signed in, head over to the GitHub REST API documentation for version 3 at https://developer.github.com/v3/.
🌐
Postman
postman.com › alcove-sol › github-rest-api-documentation › overview
GitHub REST API documentation
Go faster from development to production with higher accuracy and fewer tokens.
🌐
GeeksforGeeks
geeksforgeeks.org › git › getting-started-with-github-rest-api
Getting Started With GitHub REST API - GeeksforGeeks
July 23, 2025 - X-GitHub-Api-Version: Indicates the API version. User-Agent: Identifies the request origin; required for all requests. ... If the User-Agent header is missing or invalid, GitHub will reject the request with a 403 Forbidden response. The Accept header allows you to specify one or more media types that dictate the format of the response. The default media type for most GitHub REST API requests is application/vnd.github+json.
🌐
GitHub
docs.github.com › en › enterprise-cloud@latest › rest › using-the-rest-api › getting-started-with-the-rest-api
Getting started with the REST API - GitHub Enterprise Cloud Docs
The HTTP method of an endpoint defines the type of action it performs on a given resource. Some common HTTP methods are GET, POST, DELETE, and PATCH. The REST API reference documentation provides the HTTP method for every endpoint.
🌐
GitHub
docs.github.com › en › rest › apps
REST API endpoints for apps - GitHub Docs
Use the REST API to retrieve information about GitHub Apps and GitHub App installations.
🌐
GitHub
docs.github.com › en › rest › users
REST API endpoints for users - GitHub Docs
Use the REST API to get public and private information about authenticated users.
🌐
GitHub
docs.github.com › en › rest › pulls › pulls
REST API endpoints for pull requests - GitHub Docs
Pull requests are a type of issue. Any actions that are available in both pull requests and issues, like managing assignees, labels, and milestones, are handled by the REST API to manage issues. To perform these actions on pull requests, you must use the issues API endpoints (for example, /repos/{owner}/{repo}/issues/{issue_number}), not the pull requests endpoints.