Skip to main content
The REST API is now versioned. For more information, see "About API versioning."

REST API endpoints for review requests

Use the REST API to interact with review requests.

About review requests

Pull request authors and repository owners and collaborators can request a pull request review from anyone with write access to the repository. Each requested reviewer will receive a notification asking them to review the pull request.

Get all requested reviewers for a pull request

Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the List reviews for a pull request operation.

Fine-grained access tokens for "Get all requested reviewers for a pull request"

This endpoint works with the following fine-grained token types:

The fine-grained token must have the following permission set:

  • "Pull requests" repository permissions (read)

This endpoint can be used without authentication or the aforementioned permissions if only public resources are requested.

Parameters for "Get all requested reviewers for a pull request"

Headers
Name, Type, Description
accept string

Setting to application/vnd.github+json is recommended.