---
title: "Github App Select Repo"
method: POST
path: "/api/orgs/{orgHandle}/projects/{projectHandle}/github-app/select-repo"
tags: ["GitHub App"]
---

# Github App Select Repo

`POST /api/orgs/{orgHandle}/projects/{projectHandle}/github-app/select-repo`

## Request

- Base URL: `https://mcp.usertold.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.usertold.ai/api/orgs/{orgHandle}/projects/{projectHandle}/github-app/select-repo`
- Auth: none declared

Execute the UserTold github app select repo operation.

## Path parameters

- `orgHandle` string, required: orgHandle path parameter
- `projectHandle` string, required: projectHandle path parameter

## Request body

- object
  - `repo_url` string, required
  - `default_branch` string

## Response `200`

Success

- object
  - `success` boolean, required
  - `project` object, required
    - `ref` string, required
    - `handle` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `org_handle` string, nullable, required
    - `project_handle` string, required
    - `project_ref` string, nullable, required
    - `canonical_path` string, nullable, required
    - `can_manage_credits` boolean, required
    - `github_repo_url` string, nullable, required
    - `github_default_branch` string, required
    - `github_installation_id` string, nullable, required
    - `linear_team_id` string, nullable, required
    - `public_key` string, required
    - `created_at` string, required
    - `updated_at` string, required

## Other responses

- `400`: Bad request
- `401`: Not authenticated
- `404`: Not found
- `422`: Domain error (non-retryable)
- `500`: Internal server error
- `503`: Domain error (retryable)

---

[API](https://skmtc.dev/usertold/apis/usertold-ai-api.md) · [All operations](https://skmtc.dev/usertold/apis/usertold-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usertold/apis/usertold-ai-api/revisions/37d5b4f88d38?raw)
