---
title: "Github Link Callback"
method: GET
path: "/v1/integrations/github/link/callback"
---

# Github Link Callback

`GET /v1/integrations/github/link/callback`

## Request

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

Return leg of the in-app claim (a github.com redirect, NO bearer). Verify the
session-bound state + double-submit cookie, exchange the code for an EPHEMERAL user
token, prove installation control via GET /user/installations (+ org admin), and bind
to the state's tenant. The token is never stored. Every outcome clears the cookie and
redirects into the app -- never a raw error page.

## Query parameters

- `code` string, nullable
- `state` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graphify/apis/graphify-control-plane.md) · [All operations](https://skmtc.dev/graphify/apis/graphify-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/graphify/apis/graphify-control-plane/revisions/0e75c82b5ea8?raw)
