This version of GitHub Enterprise Server was discontinued on 2026-03-17. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.
The REST API is now versioned. For more information, see "About API versioning."
GitHub REST API documentation
Create integrations, retrieve data, and automate your workflows with the GitHub REST API.
Recommended
Articles
About the OpenAPI description for the REST API
The GitHub REST API is fully described in an OpenAPI compliant document.
About the REST API
Get oriented to the REST API documentation.
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.
Building a CI server
Build your own CI system using the Status API.
Comparing GitHub's REST API and GraphQL API
Learn about GitHub's APIs to extend and customize your GitHub experience.
Delivering deployments
Using the Deployments REST API, you can build custom tooling that interacts with your server and a third-party app.