---
title: "Get Recovery Codes"
method: GET
path: "/api/v2/user/recoverycodes/{recoveryCodeSetId}"
tags: ["User"]
---

# Get Recovery Codes

`GET /api/v2/user/recoverycodes/{recoveryCodeSetId}`

Get the recovery codes for the given recovery code set ID. Requires the `user_manage` scope.
Session must be unlocked using the [Unlock](/reference/userunlock#/)
endpoint, prior to hitting this route.

## Path parameters

- `recoveryCodeSetId` string, required

## Response `200`

OK

- RecoveryCodesResponse
  - `id` string, required
  - `created` string, date-time, required — ISO 8601 string representation of date
  - `codes` object[], required
    - `code` string, required — The recovery code
    - `isActive` boolean, required — Whether the recovery code is active

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

[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)
