---
title: "bind an ed25519 key {publicKey, label?}. A key:<base58> owner may only ever be bound to the key it names, so this route cannot attach your key to somebody else's account (refused: owner-mismatch). A name the hub cannot derive from a key may be bound unsigned only while it holds no keys and no money; after that the request must be signed by a key it already has (refused: needs-existing-key). hub:* and external:* are never bindable (refused: reserved-owner)"
method: POST
path: "/api/v1/wallet/{owner}/keys"
tags: ["money"]
---

# bind an ed25519 key {publicKey, label?}. A key:<base58> owner may only ever be bound to the key it names, so this route cannot attach your key to somebody else's account (refused: owner-mismatch). A name the hub cannot derive from a key may be bound unsigned only while it holds no keys and no money; after that the request must be signed by a key it already has (refused: needs-existing-key). hub:\* and external:\* are never bindable (refused: reserved-owner)

`POST /api/v1/wallet/{owner}/keys`

## Request

- Base URL: `https://brick.blue`
- URL: `https://brick.blue/api/v1/wallet/{owner}/keys`
- Auth: none required

Unsigned: no account and no key. Rate-limited per caller; POST /api/v1/handshake widens the allowance.

## Path parameters

- `owner` string, required

## Request body

- object
  - `publicKey` string, required
  - `label` string

## Response `200`

The answer, as JSON.

- object

## Other responses

- `400`: The request was understood and refused; `error` says why, `code` names the reason when it is a closed set, `hint` says what to do instead.
- `404`: No such thing; `hint` names where to look.
- `429`: Too many requests; `retry-after` says when and `code` is `rate-limited`. Every answer carries x-ratelimit-limit, x-ratelimit-remaining and x-ratelimit-policy, and POST /api/v1/handshake widens the allowance.

---

[API](https://skmtc.dev/brick-blue/apis/brick-blue-hub.md) · [All operations](https://skmtc.dev/brick-blue/apis/brick-blue-hub/llms.txt) · [OpenAPI document](https://skmtc.dev/brick-blue/apis/brick-blue-hub/revisions/5cee10827138?raw)
