---
title: "Generate 2FA recovery codes"
method: POST
path: "/v3/team-members/me/2fa-recovery-codes"
tags: ["TeamMembers"]
---

# Generate 2FA recovery codes

`POST /v3/team-members/me/2fa-recovery-codes`

## Request

- Base URL: `https://api.cryptlex.com`
- URL: `https://api.cryptlex.com/v3/team-members/me/2fa-recovery-codes`
- Auth: HTTP bearer

Generates new two-factor authentication recovery codes for the currently authenticated team member.

## Request body

- TwoFactorCodeRequestModel
  - `twoFactorCode` string, required

## Response `200`

OK

- TwoFactorRecoveryCodesDto
  - `recoveryCodes` string[], required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Server Error

## Changes

> 12 revisions in range; 1 not diffed.

- **2026-09-30** `0788736434a3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cryptlex/apis/cryptlex-web-api/changes/v3/team-members/me/2fa-recovery-codes/post.md)

---

[API](https://skmtc.dev/cryptlex/apis/cryptlex-web-api.md) - [All operations](https://skmtc.dev/cryptlex/apis/cryptlex-web-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cryptlex/apis/cryptlex-web-api/revisions/0088bcd57a3c?raw)
