---
title: "GET /api/v1/me/github"
method: GET
path: "/api/v1/me/github"
---

# GET /api/v1/me/github

`GET /api/v1/me/github`

## Request

- Base URL: `https://falconer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://falconer.com/api/v1/me/github`
- Auth: none declared

## Headers

- `x-organization-id` string: Required when using OAuth bearer tokens.

## Response `200`

Your personal GitHub connection for this organization.

- GithubConnection
  - `connected` boolean, required
  - `username` string, nullable, required
  - `hasRepoScope` boolean, required: Whether the connection carries the repo scope pushes need.
  - `canPush` boolean, required
  - `connectUrl` string, required: Open in a browser signed in to Falconer to connect GitHub.

## Other responses

- `400`: Bad request, or a folder that is not the sync root

---

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