---
title: "Receive GitHub Enterprise Server's pull request events for a connected repository, so the change is reviewed through the server's own API or the connector inside the network"
url: https://xovris.ai/docs/api/operations/postintegrationsreviewgithubenterprisebyconnection/
---

# Receive GitHub Enterprise Server's pull request events for a connected repository, so the change is reviewed through the server's own API or the connector inside the network

`POST /v1/integrations/review/github-enterprise/{connection}`

Needs a token that can read and change. A token without change access is refused with `token_read_only` and the step to take.

## Parameters

- `connection` (string, path, required)

## Request body

### `application/json`

- `installation` (object)
  - `id`

Example:

```json
{
  "installation": {
    "id": null
  }
}
```

## Answers

- `200`: Done. (application/json: object | Td6b6e5b77103 | Tc0c2933546b5 | T38ee5ad0bf99 | T78f645dc1592 | T140ce1e33b7e | T90657236fe3b | T5932aa29a2ce | Tfacab08530ca | T9a4026fb5686 | object)
- `202`: Started: the answer says where to follow it. (application/json: object)
- `401`: Not signed in: the token is missing, expired or revoked. The answer says how to get a new one. (application/json: Problem)
- `403`: Signed in, but this token or role may not do this. The answer names the permission it needs. (application/json: Problem)
- `404`: Nothing with that id here, or it belongs to another workspace. Nothing was changed. (application/json: Problem)
- `default`: Any other refusal or failure. The answer says what happened and what to do next. (application/json: Problem)

## A call

The address is https://api.xovris.ai/v1/integrations/review/github-enterprise/{connection} - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/integrations/review/github-enterprise/{connection}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{"installation":{"id":null}}'
```
