This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.
GitHub REST API documentation
Create integrations, retrieve data, and automate your workflows with the GitHub REST API.
Recommended
Quickstart for GitHub REST API
Learn how to get started with the GitHub REST API.
Getting started with the REST API
Learn how to use the GitHub REST API.
Authenticating to the REST API
You can authenticate to the REST API to access more endpoints and have a higher rate limit.
Articles
About the OpenAPI description for the REST API
The GitHub REST API is fully described in an OpenAPI compliant document.
API Versions
Learn how to specify which REST API version to use whenever you make a request to the REST API.
Authenticating to the REST API
You can authenticate to the REST API to access more endpoints and have a higher rate limit.
Best practices for using the REST API
Follow these best practices when using GitHub's API.
Breaking changes
Learn about breaking changes that were introduced in each REST API version.
Comparing GitHub's REST API and GraphQL API
Learn about GitHub's APIs to extend and customize your GitHub experience.
Configurations
Use the REST API to create and manage security configurations for your organization.