This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-11-12. 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. For help with the upgrade, contact GitHub Enterprise support.

About GitHub's APIs

Learn about GitHub's APIs to extend and customize your GitHub experience.

In this article

Did this doc help you?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.

There are two stable versions of the GitHub API: the REST API and the GraphQL API.

When using the REST API, we encourage you to request v3 via the Accept header.

For information on using the GraphQL API, see the v4 docs.

Deprecated versions

beta

We deprecated the beta API on April 22, 2014.

v2

We removed support for API v2 on June 12, 2012.

v1

We removed support for API v1 on June 12, 2012.

Did this doc help you?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.