---
title: "Authorize Github Installation"
method: POST
path: "/api/integrations/github/authorize"
---

# Authorize Github Installation

`POST /api/integrations/github/authorize`

## Request

- Base URL: `https://app.tin.computer` (the document declares no server; this is the origin it was published from)
- URL: `https://app.tin.computer/api/integrations/github/authorize`
- Auth: HTTP bearer

## Request body

- GitHubIntegrationAuthorize: GitHub came back with an installation but no code: the app was already installed.
  - `installation_id` integer, required
  - `setup_action` string, nullable
  - `state` string, nullable
  - `project_id` string, uuid, nullable

## Response `200`

Successful Response

- IntegrationConnectView
  - `authorization_url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tin/apis/tin-lite-switchboard.md) · [All operations](https://skmtc.dev/tin/apis/tin-lite-switchboard/llms.txt) · [OpenAPI document](https://skmtc.dev/tin/apis/tin-lite-switchboard/revisions/c800ca3406f4?raw)
