---
title: "Mfa Verify"
method: POST
path: "/api/v1/auth/mfa/verify"
---

# Mfa Verify

`POST /api/v1/auth/mfa/verify`

Complete MFA verification during login by validating a TOTP code.

Called after /login returns ``requires_mfa: true``.  The *mfa_ticket*
is the aal1 access-token issued by GoTrue; on success it is exchanged
for an aal2 session whose cookies are set on the response.

## Request body

- MfaVerifyRequest
  - `mfa_ticket` string, required
  - `factor_id` string, required
  - `code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/modaic-ai/apis/modaic-api.md) · [All operations](https://skmtc.net/modaic-ai/apis/modaic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modaic-ai/modaic-api/versions/43a90513ac59/schema)
