---
title: "Register Pubkey"
method: POST
path: "/api/v1/config/secrets/pubkeys"
tags: ["secrets"]
---

# Register Pubkey

`POST /api/v1/config/secrets/pubkeys`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/config/secrets/pubkeys`
- Auth: none declared

Register the caller's own age recipient pubkey (pending owner approval).

## Headers

- `authorization` string, nullable

## Request body

- PubkeyRegister: Register the caller's own age recipient pubkey (becomes pending).
  - `pubkey` string, required: age recipient public key (age1…)
  - `label` string, nullable: Friendly label

## Response `201`

Successful Response

- PubkeyResponse: Recipient pubkey metadata (the pubkey is public; no private material).
  - `id` unknown, required
  - `identity_id` unknown, required
  - `pubkey` unknown, required
  - `fingerprint` unknown, required
  - `label` unknown, required
  - `status` unknown, required
  - `created_at` unknown, required
  - `attested_at` unknown, required
  - `revoked_at` unknown, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
