GitHub Reactions API

The GitHub Reactions API lets you create, list, and delete emoji reactions on issues, pull requests, issue comments, pull request review comments, commit comments, release assets, and team discussion posts. Supported reaction types include thumbs up/down, laugh, confused, heart, hooray, rocket, and eyes.

Operations 25

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions List reactions on a team discussion comment · GitHub List Reactions for a Team Discussion Comment #
Ask an LLM
“What emoji reactions has a reply on our team discussion received?”
“Can I count only the thumbs-up reactions on a team discussion reply?”
Tell an agent
List reactions to reply {comment_number} under discussion {discussion_number} of team {team_slug} in {org}.
Show only {content} reactions on comment {comment_number}, team {team_slug} thread {discussion_number}, {org}.
POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions React to a team discussion comment · GitHub Create Reaction for a Team Discussion Comment #
Ask an LLM
“How do I add an emoji reaction to a reply in a team discussion?”
“What does a 200 response mean when reacting to a team discussion comment?”
Tell an agent
React with {content} to reply {comment_number} on discussion {discussion_number} of team {team_slug} in {org}.
Add a {content} emoji to comment {comment_number} in {team_slug}'s thread {discussion_number} ({org}).
DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id} Remove a reaction from a team discussion comment · GitHub Delete Team Discussion Comment Reaction #
Ask an LLM
“Can I take back an emoji reaction I left on a team discussion reply?”
“Which ID do I need to remove a reaction from a team discussion comment?”
Tell an agent destructive · confirm first
Delete reaction {reaction_id} from reply {comment_number} on discussion {discussion_number} of team {team_slug} in {org}.
Undo my emoji {reaction_id} on comment {comment_number}, {team_slug} thread {discussion_number}, {org}.
GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions List reactions on a team discussion · GitHub List Reactions for a Team Discussion #
Ask an LLM
“How are people reacting to a discussion post on our team page?”
“Can I filter a team discussion's reactions to just hearts?”
Tell an agent
List reactions to the top post of discussion {discussion_number} on team {team_slug} in {org}.
Show {content} reactions on {team_slug}'s discussion post {discussion_number} in {org}.
POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions React to a team discussion · GitHub Create Reaction for a Team Discussion #
Ask an LLM
“Can I put an emoji reaction on a team discussion post itself?”
“What happens if I add the same reaction to a team discussion twice?”
Tell an agent
React with {content} to discussion post {discussion_number} on team {team_slug} in {org}.
Add a {content} emoji to the {team_slug} team's discussion {discussion_number} in {org}.
DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id} Remove a reaction from a team discussion · GitHub Delete Team Discussion Reaction #
Ask an LLM
“How can I remove a reaction I put on a team discussion post?”
“Can I delete an emoji reaction from a team page discussion?”
Tell an agent destructive · confirm first
Delete reaction {reaction_id} from discussion post {discussion_number} on team {team_slug} in {org}.
Undo emoji {reaction_id} on the {team_slug} team's discussion {discussion_number} in {org}.
GET /repos/{owner}/{repo}/comments/{comment_id}/reactions List reactions on a commit comment · GitHub List Reactions for a Commit Comment #
Ask an LLM
“What reactions has a comment on a commit gotten?”
“Can I see just the rocket reactions on a commit comment?”
Tell an agent
List reactions to commit comment {comment_id} in {owner}/{repo}.
Show {content} reactions on commit comment {comment_id} in {owner}/{repo}.
POST /repos/{owner}/{repo}/comments/{comment_id}/reactions React to a commit comment · GitHub Create Reaction for a Commit Comment #
Ask an LLM
“How do I add an emoji reaction to a comment on a commit?”
“Is reacting to a commit comment idempotent if I already reacted?”
Tell an agent
React with {content} to commit comment {comment_id} in {owner}/{repo}.
Add a {content} emoji to the commit comment {comment_id} on repo {owner}/{repo}.
DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id} Remove a reaction from a commit comment · GitHub Delete a Commit Comment Reaction #
Ask an LLM
“Can I remove a reaction I added to a commit comment?”
“What IDs are needed to delete a reaction on a commit comment?”
Tell an agent destructive · confirm first
Delete reaction {reaction_id} from commit comment {comment_id} in {owner}/{repo}.
Undo emoji {reaction_id} on the commit comment {comment_id}, repo {owner}/{repo}.
GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions List reactions on an issue comment · GitHub List Reactions for an Issue Comment #
Ask an LLM
“How many people reacted to a specific comment on an issue?”
“Can I list only the confused reactions on an issue comment?”
Tell an agent
List reactions to issue comment {comment_id} in {owner}/{repo}.
Show {content} reactions left on issue comment {comment_id} of {owner}/{repo}.
POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions React to an issue comment · GitHub Create Reaction for an Issue Comment #
Ask an LLM
“How do I thumbs-up someone's comment on an issue?”
“Which reaction types can I add to an issue comment?”
Tell an agent
React with {content} to issue comment {comment_id} in {owner}/{repo}.
Add a {content} emoji to the issue comment {comment_id} on repo {owner}/{repo}.
DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id} Remove a reaction from an issue comment · GitHub Delete an Issue Comment Reaction #
Ask an LLM
“Can I retract my emoji on someone's issue comment?”
“How do I delete a reaction from a comment on an issue?”
Tell an agent destructive · confirm first
Delete reaction {reaction_id} from issue comment {comment_id} in {owner}/{repo}.
Undo emoji {reaction_id} on the issue comment {comment_id}, repo {owner}/{repo}.
GET /repos/{owner}/{repo}/issues/{issue_number}/reactions List reactions on an issue · GitHub List Reactions for an Issue #
Ask an LLM
“How many thumbs-up votes does an issue have?”
“Can I see every reaction on the issue itself, not its comments?”
Tell an agent
List reactions to issue #{issue_number} in {owner}/{repo}.
Count the {content} reactions on issue {issue_number} of {owner}/{repo}.
POST /repos/{owner}/{repo}/issues/{issue_number}/reactions React to an issue · GitHub Create Reaction for an Issue #
Ask an LLM
“Can I upvote an issue with a reaction through the API?”
“What if I add a reaction to an issue that I already reacted to?”
Tell an agent
React with {content} to issue #{issue_number} in {owner}/{repo}.
Put a {content} emoji on the issue {issue_number} itself in {owner}/{repo}.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id} Remove a reaction from an issue · GitHub Delete an Issue Reaction #
Ask an LLM
“How do I remove my vote reaction from an issue?”
“Can I delete a reaction on the issue body rather than a comment?”
Tell an agent destructive · confirm first
Delete reaction {reaction_id} from issue #{issue_number} in {owner}/{repo}.
Take my emoji {reaction_id} off the issue {issue_number} itself in {owner}/{repo}.
GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions List reactions on a pull request review comment · GitHub List Reactions for a Pull Request Review Comment #
Ask an LLM
“What reactions has an inline review comment on a pull request received?”
“Can I filter reactions on a PR review comment by type?”
Tell an agent
List reactions to pull request review comment {comment_id} in {owner}/{repo}.
Show {content} reactions on the inline PR review comment {comment_id}, {owner}/{repo}.
POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions React to a pull request review comment · GitHub Create Reaction for a Pull Request Review Comment #
Ask an LLM
“How can I react to an inline code review comment on a pull request?”
“Can I add an eyes reaction to a PR review comment to show I'm looking at it?”
Tell an agent
React with {content} to pull request review comment {comment_id} in {owner}/{repo}.
Add a {content} emoji to the inline PR review comment {comment_id} on {owner}/{repo}.
DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id} Remove a reaction from a pull request comment · GitHub Delete a Pull Request Comment Reaction #
Ask an LLM
“Can I remove my reaction from an inline pull request review comment?”
“Which IDs identify a reaction on a PR review comment for deletion?”
Tell an agent destructive · confirm first
Delete reaction {reaction_id} from pull request review comment {comment_id} in {owner}/{repo}.
Undo emoji {reaction_id} on the inline PR review comment {comment_id}, {owner}/{repo}.
GET /repos/{owner}/{repo}/releases/{release_id}/reactions List reactions on a release · GitHub List Reactions for a Release #
Ask an LLM
“How are people reacting to our latest release?”
“Can I count the hooray reactions on a release?”
Tell an agent
List reactions to release {release_id} in {owner}/{repo}.
Show {content} reactions on the {owner}/{repo} release {release_id}.
POST /repos/{owner}/{repo}/releases/{release_id}/reactions React to a release · GitHub Create Reaction for a Release #
Ask an LLM
“Can I celebrate a release with an emoji reaction?”
“Which reaction types are allowed on a release?”
Tell an agent
React with {content} to release {release_id} in {owner}/{repo}.
Add a {content} emoji to the {owner}/{repo} release {release_id}.
DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id} Remove a reaction from a release · GitHub Delete a Release Reaction #
Ask an LLM
“How do I remove a reaction I left on a release?”
“Can a reaction on a release be deleted?”
Tell an agent destructive · confirm first
Delete reaction {reaction_id} from release {release_id} in {owner}/{repo}.
Undo my emoji {reaction_id} on the {owner}/{repo} release {release_id}.
GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions List team discussion comment reactions (legacy) · GitHub List Reactions for a Team Discussion Comment (Legacy) #
Ask an LLM
“Can I list reactions on a team discussion reply using just the numeric team ID?”
“Is the old team-ID route for comment reactions deprecated?”
Tell an agent
Using the legacy team ID route, list reactions to reply {comment_number} under discussion {discussion_number} of team {team_id}.
Via the deprecated endpoint, show {content} reactions on comment {comment_number}, thread {discussion_number}, numeric team {team_id}.
POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions React to a team discussion comment (legacy) · GitHub Create Reaction for a Team Discussion Comment (Legacy) #
Ask an LLM
“Can I react to a team discussion reply through the numeric team ID route?”
“Is adding comment reactions by team ID still supported?”
Tell an agent
Using the legacy team ID route, react with {content} to reply {comment_number} under discussion {discussion_number} of team {team_id}.
Via the deprecated endpoint, add emoji {content} to comment {comment_number}, thread {discussion_number}, numeric team {team_id}.
GET /teams/{team_id}/discussions/{discussion_number}/reactions List team discussion reactions (legacy) · GitHub List Reactions for a Team Discussion (Legacy) #
Ask an LLM
“Can I see reactions on a team discussion post with only the numeric team ID?”
“Is listing discussion reactions by team ID being retired?”
Tell an agent
Using the legacy team ID route, list reactions to the top post of discussion {discussion_number} on team {team_id}.
Via the deprecated endpoint, show {content} reactions on discussion post {discussion_number} of numeric team {team_id}.
POST /teams/{team_id}/discussions/{discussion_number}/reactions React to a team discussion (legacy) · GitHub Create Reaction for a Team Discussion (Legacy) #
Ask an LLM
“Can I react to a team discussion post via the numeric team ID route?”
“Is the ID-based route for reacting to team discussions deprecated?”
Tell an agent
Using the legacy team ID route, react with {content} to discussion post {discussion_number} on team {team_id}.
Via the deprecated endpoint, add emoji {content} to the top post of thread {discussion_number}, numeric team {team_id}.

Documentation

📖
Documentation
https://docs.github.com/en/rest/apps
📖
Documentation
https://docs.github.com/en/rest/codes-of-conduct/codes-of-conduct
📖
Documentation
https://docs.github.com/en/rest/emojis
📖
Documentation
https://docs.github.com/en/rest/gitignore
📖
Documentation
https://docs.github.com/en/rest/apps/installations
📖
Documentation
https://docs.github.com/en/rest/enterprise-admin
📖
Documentation
https://docs.github.com/en/rest/activity/events
📖
Documentation
https://docs.github.com/en/rest/orgs
📖
Documentation
https://docs.github.com/en/rest/rate-limit
📖
Documentation
https://docs.github.com/en/enterprise-cloud@latest/rest/scim
📖
Documentation
https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api
📖
Documentation
https://docs.github.com/en/rest/teams
📖
Documentation
https://docs.github.com/en/rest/meta/meta
📖
Documentation
https://docs.github.com/en/rest/actions
📖
Documentation
https://docs.github.com/en/rest/branches
📖
Documentation
https://docs.github.com/en/rest/code-scanning
📖
Documentation
https://docs.github.com/en/rest/collaborators
📖
Documentation
https://docs.github.com/en/rest/dependabot
📖
Documentation
https://docs.github.com/en/rest/webhooks
📖
Documentation
https://docs.github.com/en/rest/pulls
📖
Documentation
https://docs.github.com/en/rest/git/tags
📖
Documentation
https://docs.github.com/en/rest/repos/autolinks
📖
Documentation
https://docs.github.com/en/rest/collaborators/invitations
📖
Documentation
https://docs.github.com/en/rest/reactions

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/github-reactions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

github-reactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.1.4
  title: GitHub v3 REST Reactions API
  description: GitHub's v3 REST API.
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
  termsOfService: https://docs.github.com/articles/github-terms-of-service
  contact:
    name: Support
    url: https://support.github.com/contact?tags=dotcom-rest-api
  x-github-plan: ghes
  x-github-release: 3.9
servers:
- url: '{protocol}://{hostname}/api/v3'
  variables:
    hostname:
      description: Self-hosted Enterprise Server hostname
      default: HOSTNAME
    protocol:
      description: Self-hosted Enterprise Server protocol
      default: http
tags:


# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/openapi/github-reactions-api-openapi.yml