← All tags

Reactions API Reference

Interact with reactions to various GitHub entities.

15 endpoints tagged reactions, each listing its parameters and possible responses. Search or scroll the index below to jump to a specific endpoint.

No endpoints match your search.

List reactions for a commit comment

GET /repos/{owner}/{repo}/comments/{comment_id}/reactions

List the reactions to a commit comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.
contentquerynoReturns a single reaction type. Omit this parameter to list all reactions to a commit comment.
per_pagequerynoThe number of results per page (max 100). For more information, see "Using pagination in the REST API."
pagequerynoThe page number of the results to fetch. For more information, see "Using pagination in the REST API."

Responses

StatusDescriptionHas JSON body
200Responseyes
404Resource not foundyes

Create reaction for a commit comment

POST /repos/{owner}/{repo}/comments/{comment_id}/reactions

Create a reaction to a commit comment. A response with an HTTP 200 status means that you already added the reaction type to this commit comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.

Responses

StatusDescriptionHas JSON body
200Reaction existsyes
201Reaction createdyes
422Validation failed, or the endpoint has been spammed.yes

Delete a commit comment reaction

DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}

Delete a reaction to a commit comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.
reaction_idpathyesThe unique identifier of the reaction.

Responses

StatusDescriptionHas JSON body
204Responseno

List reactions for an issue comment

GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions

List the reactions to an issue comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.
contentquerynoReturns a single reaction type. Omit this parameter to list all reactions to an issue comment.
per_pagequerynoThe number of results per page (max 100). For more information, see "Using pagination in the REST API."
pagequerynoThe page number of the results to fetch. For more information, see "Using pagination in the REST API."

Responses

StatusDescriptionHas JSON body
200Responseyes
404Resource not foundyes

Create reaction for an issue comment

POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions

Create a reaction to an issue comment. A response with an HTTP 200 status means that you already added the reaction type to this issue comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.

Responses

StatusDescriptionHas JSON body
200Reaction existsyes
201Reaction createdyes
422Validation failed, or the endpoint has been spammed.yes

Delete an issue comment reaction

DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}

Delete a reaction to an issue comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.
reaction_idpathyesThe unique identifier of the reaction.

Responses

StatusDescriptionHas JSON body
204Responseno

List reactions for an issue

GET /repos/{owner}/{repo}/issues/{issue_number}/reactions

List the reactions to an issue.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
issue_numberpathyesThe number that identifies the issue.
contentquerynoReturns a single reaction type. Omit this parameter to list all reactions to an issue.
per_pagequerynoThe number of results per page (max 100). For more information, see "Using pagination in the REST API."
pagequerynoThe page number of the results to fetch. For more information, see "Using pagination in the REST API."

Responses

StatusDescriptionHas JSON body
200Responseyes
404Resource not foundyes
410Goneyes

Create reaction for an issue

POST /repos/{owner}/{repo}/issues/{issue_number}/reactions

Create a reaction to an issue. A response with an HTTP 200 status means that you already added the reaction type to this issue.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
issue_numberpathyesThe number that identifies the issue.

Responses

StatusDescriptionHas JSON body
200Responseyes
201Responseyes
422Validation failed, or the endpoint has been spammed.yes

Delete an issue reaction

DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}

Delete a reaction to an issue.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
issue_numberpathyesThe number that identifies the issue.
reaction_idpathyesThe unique identifier of the reaction.

Responses

StatusDescriptionHas JSON body
204Responseno

List reactions for a pull request review comment

GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions

List the reactions to a pull request review comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.
contentquerynoReturns a single reaction type. Omit this parameter to list all reactions to a pull request review comment.
per_pagequerynoThe number of results per page (max 100). For more information, see "Using pagination in the REST API."
pagequerynoThe page number of the results to fetch. For more information, see "Using pagination in the REST API."

Responses

StatusDescriptionHas JSON body
200Responseyes
404Resource not foundyes

Create reaction for a pull request review comment

POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions

Create a reaction to a pull request review comment. A response with an HTTP 200 status means that you already added the reaction type to this pull request review comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.

Responses

StatusDescriptionHas JSON body
200Reaction existsyes
201Reaction createdyes
422Validation failed, or the endpoint has been spammed.yes

Delete a pull request comment reaction

DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}

Delete a reaction to a pull request review comment.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
comment_idpathyesThe unique identifier of the comment.
reaction_idpathyesThe unique identifier of the reaction.

Responses

StatusDescriptionHas JSON body
204Responseno

List reactions for a release

GET /repos/{owner}/{repo}/releases/{release_id}/reactions

List the reactions to a release.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
release_idpathyesThe unique identifier of the release.
contentquerynoReturns a single reaction type. Omit this parameter to list all reactions to a release.
per_pagequerynoThe number of results per page (max 100). For more information, see "Using pagination in the REST API."
pagequerynoThe page number of the results to fetch. For more information, see "Using pagination in the REST API."

Responses

StatusDescriptionHas JSON body
200Responseyes
404Resource not foundyes

Create reaction for a release

POST /repos/{owner}/{repo}/releases/{release_id}/reactions

Create a reaction to a release. A response with a Status: 200 OK means that you already added the reaction type to this release.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
release_idpathyesThe unique identifier of the release.

Responses

StatusDescriptionHas JSON body
200Reaction existsyes
201Reaction createdyes
422Validation failed, or the endpoint has been spammed.yes

Delete a release reaction

DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}

Delete a reaction to a release.

Parameters

NameInRequiredDescription
ownerpathyesThe account owner of the repository. The name is not case sensitive.
repopathyesThe name of the repository without the .git extension. The name is not case sensitive.
release_idpathyesThe unique identifier of the release.
reaction_idpathyesThe unique identifier of the reaction.

Responses

StatusDescriptionHas JSON body
204Responseno