---
title: "GET /github/link/initiate"
method: GET
path: "/github/link/initiate"
tags: ["github"]
---

# GET /github/link/initiate

`GET /github/link/initiate`

Issue a signed OAuth state token for the GitHub user-authorization flow and return the GitHub authorize URL the client should redirect to. Optionally remembers a dashboard path to return the user to after the round-trip.

## Query parameters

- `redirect` string

## Response `200`

Default Response

- object
  - `url` string, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

- **2026-08-07** `8dff1e93bc68` — 1 info
  - api operation id `getgithubLinkInitiate` removed and replaced with `getGithubLinkInitiate`

[Change history](https://skmtc.dev/scalar/apis/core/changes/github/link/initiate/get.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/f2eb95a82c72/schema)
