---
title: "Attach a verified repository to the signed-in account"
method: POST
path: "/v1/github/claim"
---

# Attach a verified repository to the signed-in account

`POST /v1/github/claim`

## Request

- Base URL: `https://api.plori.ai`
- URL: `https://api.plori.ai/v1/github/claim`
- Auth: HTTP bearer

Combines the signed repository claim capability from a workflow with a registered Plori payer identity. The same repository agent, disk, threads, and private memory move to that account. Safe to retry by the same account.

## Request body

- object
  - `repository` string, required
  - `claim_token` string, required

## Response `200`

Repository attached or already attached to this account.

- object
  - `repository` string, required
  - `agent_id` string, uuid, required
  - `already_bound` boolean, required

## Other responses

- `401`: Missing or invalid credential.
- `403`: A registered account is required.
- `404`: No such resource.
- `409`: Repository belongs to another account; contact support for a transfer.

---

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