---
title: "Verify Two-Factor Code"
method: POST
path: "/api/auth/two-factor/verify"
tags: ["Authentication"]
---

# Verify Two-Factor Code

`POST /api/auth/two-factor/verify`

## Request

- Base URL: `https://flowdot.ai/api`
- URL: `https://flowdot.ai/api/api/auth/two-factor/verify`
- Auth: none declared

Complete login by verifying 2FA code.

## Request body

- object
  - `code` string: 6-digit code from authenticator app
  - `recovery_code` string: Recovery code (alternative to code)

## Response `200`

Successful response

- unknown

## Other responses

- `422`: Invalid verification code
- `429`: Too many attempts

---

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