---
title: "Confirm Two-Factor Setup"
method: POST
path: "/api/auth/two-factor/confirm"
tags: ["Authentication"]
---

# Confirm Two-Factor Setup

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

## Request

- Base URL: `https://flowdot.ai/api`
- URL: `https://flowdot.ai/api/api/auth/two-factor/confirm`
- Auth: HTTP bearer

Verify 2FA setup with code from authenticator app.

## Request body

- object
  - `code` string: 6-digit code from authenticator app

## Response `200`

Successful response

- unknown

## Other responses

- `401`: Unauthenticated
- `422`: Invalid verification code

---

[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)
