---
title: "Start linking a repository to a project"
method: GET
path: "/v0/projects/{project}/github/urls"
tags: ["projects", "github"]
---

# Start linking a repository to a project

`GET /v0/projects/{project}/github/urls`

## Request

- The document declares no server URL.
- Auth: none declared

The GitHub pages that start a link: the authorize page, and the install page for a repository whose owner has not installed the app yet. Both carry a state for this project and this user, which lasts ten minutes. The user must have `manage` permissions for the project.

## Path parameters

- `project` string, required

## Response `200`

successful operation

- JsonGitHubLinkUrls: Where to send the user to link a repository, or to install the GitHub App first.
  - `authorize` string, uri, required: GitHub's authorize page.
  - `install` string, uri, required: GitHub's install page for the app.

## Other responses

- `4XX`: Error
- `5XX`: Error

## Changes

- **2026-10-31** `538b39b8d755`: 1 info
  - endpoint added
- **2026-10-31** `00d8f4574c39`: 1 breaking
  - api path removed without deprecation
- **2026-10-31** `c41a83b8d187`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bencherdev/apis/bencher-api/changes/v0/projects/:project/github/urls/get.md)

---

[API](https://skmtc.dev/bencherdev/apis/bencher-api.md) - [All operations](https://skmtc.dev/bencherdev/apis/bencher-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bencherdev/apis/bencher-api/revisions/538b39b8d755?raw)
