---
title: "LEGACY: read a pre-vault wallet's plaintext key once, to migrate it"
method: GET
path: "/api/v1/wallets/{id}/reveal"
tags: ["Wallets"]
---

# LEGACY: read a pre-vault wallet's plaintext key once, to migrate it

`GET /api/v1/wallets/{id}/reveal`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/wallets/{id}/reveal`
- Auth: API key in header `api-key`

Only serves a row that predates client-side encryption; every migrated wallet answers 410 here.

## Path parameters

- `id` string, required

## Response `200`

OK. Plaintext key material -- legacy rows only.

- object

## Other responses

- `401`: Missing or invalid credentials.
- `410`: This wallet's keys are end-to-end encrypted and can only be read by your device.

---

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