---
title: "Get keys"
method: GET
path: "/api/v2/keys"
tags: ["Key"]
---

# Get keys

`GET /api/v2/keys`

Retrieve user keys using wallet IDs.
User must have spender permissions for the specified wallets.

## Query parameters

- `walletIds` string[], required

## Response `200`

OK

- object[]
  - `walletId` string, required
  - `key` KeyListItem
    - `id` string, required
    - `encryptedPrv` string — The encrypted private key

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bitgo/apis/bitgo-api.md) · [All operations](https://skmtc.net/bitgo/apis/bitgo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitgo/bitgo-api/revisions/e445c15e5bee/schema)
