---
title: "For a completed MFA enrollment view the current recovery codes"
method: GET
path: "/current-identity/mfa/recovery-codes"
tags: ["Current Identity", "MFA"]
---

# For a completed MFA enrollment view the current recovery codes

`GET /current-identity/mfa/recovery-codes`

Allows the viewing of recovery codes of an MFA enrollment. Requires a current valid time based one time password to interact with. Available after a completed MFA enrollment.

## Headers

- `mfa-validation-code` string

## Request body

- MfaCode
  - `code` string, required

## Response `200`

The recovery codes of an MFA enrollment

- DetailMfaRecoveryCodesEnvelope
  - `data` DetailMfaRecoveryCodes, required — Fields shared by all Edge API entities
    - `_links` object, required — A map of named links
    - `createdAt` string, date-time, required
    - `id` string, required
    - `tags` Tags
    - `updatedAt` string, date-time, required
    - `recoveryCodes` string[], required
  - `meta` Meta, required
    - `apiEnrollmentVersion` string
    - `apiVersion` string
    - `filterableFields` string[]
    - `pagination` Pagination
      - `limit` number, required
      - `offset` number, required
      - `totalCount` number, required

## Other responses

- `401` — The supplied session does not have the correct access rights to request this resource
- `404` — The requested resource does not exist

---

[API](https://skmtc.net/openziti/apis/ziti-edge-client.md) · [All operations](https://skmtc.net/openziti/apis/ziti-edge-client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openziti/ziti-edge-client/versions/25da9a73a095/schema)
