---
title: "Claim Repo"
method: POST
path: "/api/v1/account/github-app/claim-repo"
tags: ["account"]
---

# Claim Repo

`POST /api/v1/account/github-app/claim-repo`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/account/github-app/claim-repo`
- Auth: HTTP bearer

Claim ONE repo the owner reaches through a connected App installation. The
install proves ownership, so we verify-claim it immediately (fast → shows in
'Your repos' now) and scan it in the background (result populates shortly).

## Headers

- `x-api-key` string, nullable

## Request body

- ClaimRepoRequest
  - `owner` string, required
  - `repo` string, required

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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