---
title: "Take ownership of an agent with a transfer code."
method: POST
path: "/v1/registry/transfers/accept"
tags: ["Registry"]
---

# Take ownership of an agent with a transfer code.

`POST /v1/registry/transfers/accept`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/registry/transfers/accept`
- Auth: HTTP bearer

## Headers

- `X-Request-Id` string
- `Idempotency-Key` string

## Request body

- object
  - `transfer_code` string
  - `code` string, required

## Response `200`

OK

- object: Inferred from 2 recorded responses; required fields appeared in every one; additional properties may appear.
  - `registration` object, required
    - `number` string, required
    - `status` string, required
    - `agent_id` string, required
    - `handle` string, required
    - `display_name` string, required
    - `issued_at` string, required
    - `expires_at` string, required
    - `renewable_from` string, required
    - `revoked_at` unknown, required
    - `revocation_reason` unknown, required
    - `classes` object[], required
      - `code` string, required
      - `name` string, required
      - `held` boolean, required
      - `in_force` boolean, required
    - `commerce_limit_credits` integer, required
    - `liens` unknown[], required
      - unknown
  - `next_steps` string[], required

## Other responses

- `400`: Problem details: a stable error code, type URI, title, status and an explanation
- `401`: Problem details: a stable error code, type URI, title, status and an explanation
- `404`: Problem details: a stable error code, type URI, title, status and an explanation
- `405`: Problem details: a stable error code, type URI, title, status and an explanation
- `422`: Problem details: a stable error code, type URI, title, status and an explanation
- `429`: Request budget exhausted; retry after Retry-After seconds
- `500`: Problem details: a stable error code, type URI, title, status and an explanation
- `4XX`: {error, detail}

---

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