---
title: "Get next GitHub connect URL"
method: GET
path: "/github/connect-url"
---

# Get next GitHub connect URL

`GET /github/connect-url`

## Request

- Base URL: `https://api.eurobase.dev`
- URL: `https://api.eurobase.dev/github/connect-url`
- Auth: none declared

Returns from DB-backed account/install snapshot truth. This endpoint must not refresh live GitHub installations or repositories on the click path.

## Query parameters

- `returnTo` string, uri
- `returnPath` string

## Response `200`

Connect URL

- GitHubConnectResponse
  - `url` string, required
  - `state` string
  - `nextAction` 'oauth' | 'install' | 'manage' | 'review', required

## Other responses

- `409`: GitHub connect blocked by operator-side control-plane configuration

---

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