---
title: "GitHub connection overview"
method: GET
path: "/github/connection"
tags: ["GitHub"]
---

# GitHub connection overview

`GET /github/connection`

## Request

- Base URL: `https://api.apphandoff.com/api`
- URL: `https://api.apphandoff.com/api/github/connection`
- Auth: API key in cookie `sb-access-token`

Connection metadata for the integrations UI — which account the App is installed on, who connected it, when, repo count, and selection scope.

## Response `200`

Connection overview

- object
  - `connected` boolean, required
  - `account` object, nullable
    - `login` string
    - `type` string, nullable
    - `id` integer, nullable
  - `repositorySelection` string, nullable
  - `repoCount` integer, required
  - `connectedBy` object, nullable
    - `name` string, nullable
    - `email` string, nullable
  - `connectedAt` string, date-time, nullable

## Other responses

- `401`: Not authenticated

---

[API](https://skmtc.dev/apphandoff/apis/apphandoff-api.md) · [All operations](https://skmtc.dev/apphandoff/apis/apphandoff-api/llms.txt) · [OpenAPI document](https://skmtc.dev/apphandoff/apis/apphandoff-api/revisions/9f138fe46d56?raw)
