---
title: "Finish TOTP enrolment with the first code; answers the recovery codes once"
method: POST
path: "/api/me/mfa/totp/confirm"
tags: ["security"]
---

# Finish TOTP enrolment with the first code; answers the recovery codes once

`POST /api/me/mfa/totp/confirm`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/me/mfa/totp/confirm`
- Auth: none declared

## Request body

- MfaCodeBody
  - `code` string, required

## Response `200`

OK.

- RecoveryCodes
  - `recoveryCodes` string[], required

## Other responses

- `400`: Wrong code.
- `403`: A factor is enrolled: pass it first.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
