Preview support for Reactions API

GitHub recently added Reactions to Pull Requests, Issues, and Comments to help people express their feelings more simply and effectively in conversations. We are adding endpoints for Reactions so that you can now react and unreact via the API. You can enable these changes during the preview period by providing a custom media type in the Accept header:


For example:

To view reactions on an issue:

curl "" \
  -H "Accept: application/vnd.github.squirrel-girl-preview"

You can learn more about the new reaction response objects in the updated Commit comment, Issue, Issue comment, and Review Comment documentation. There is also new Reaction documentation.

During the preview period, we may change aspects of these APIs based on developer feedback. We will announce the changes here on the developer blog, but we will not provide advance notice.

If you have any questions or feedback, please let us know.