API previews

You can use API previews to try out new features and provide feedback before these features become official.

API previews let you try out new APIs and changes to existing API methods before they become part of the official GitHub API.

During the preview period, we may change some features based on developer feedback. If we do make changes, we'll announce them on the developer blog without advance notice.

To access an API preview, you'll need to provide a custom media type in the Accept header for your requests. Feature documentation for each preview specifies which custom media type to provide.

Global webhooks

Enables global webhooks for organization and user event types. This API preview is only available for GitHub Enterprise Server.

Custom media type: superpro-preview Announced: 2017-12-12

Enable and disable Pages

You can use the new endpoints in the Pages API to enable or disable Pages. To learn more about Pages, see "GitHub Pages Basics".

Custom media types: switcheroo-preview Announced: 2019-03-14

Did this doc help you?

Privacy policy

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.