---
title: "Mfa Verify"
method: POST
path: "/v1/auth/mfa/verify"
tags: ["auth"]
---

# Mfa Verify

`POST /v1/auth/mfa/verify`

## Request

- Base URL: `https://api.claims.zicron.ai`
- URL: `https://api.claims.zicron.ai/v1/auth/mfa/verify`
- Auth: none declared

Verify a TOTP code and enable MFA if valid.

Used during both setup (to confirm the user configured their app) and
login (to complete 2FA).

## Request body

- MfaVerifyRequest
  - `code` string, required

## Response `200`

Successful Response

- MfaVerifyResponse
  - `verified` boolean, required
  - `mfa_enabled` boolean, required

## Other responses

- `422`: Validation Error

---

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