Create Review endpoint not working


I just tried to use the API and wanted to create a review as mentioned here:

However, as soon as I try to replicate this programmatically I get an 404 error:

  "message": "Not Found",
  "documentation_url": ""

I pass the authorization header with the Bearer token, the content type header “application/json”, the Accept header “application/vnd.github.v3+json” and a proper user agent and try to POST the following to

    "commit_id": "",
    "event": "comment",
    "body": "Fine for me.",
    "comments": []

Any idea why this does not work?


I’m actually hitting the same issue, have you had any luck? From what i can tell, the API may return 404 if you don’t have access to the repository, however that doesn’t appear to be the case for me.