# GitHubConnectRequest

> The GitHubConnectRequest object in the Guv API.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `installation_id` * | integer |  |
| `setup_action` | `install`, `update`, `request` |  |
| `code` | string | OAuth authorisation code returned by GitHub when user authorisation is enabled. |
| `state` * | string |  |

\* always present

## Example

```json
{
  "installation_id": 1,
  "setup_action": "install",
  "code": "string",
  "state": "string"
}
```

## Used by

- [Connect an installation after the GitHub redirect](/docs/api/git-hub/#connect-an-installation-after-the-github-redirect)
