---
title: "Totp Confirm"
method: POST
path: "/auth/totp/confirm"
tags: ["auth-totp", "auth-totp"]
---

# Totp Confirm

`POST /auth/totp/confirm`

## Request

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

Prove the app works, then switch 2FA on and hand over recovery codes.

## Request body

- CodeRequest
  - `code` string, required

## Response `200`

Successful Response

- ConfirmResponse
  - `two_fa_enabled` boolean, required
  - `recovery_codes` string[], required

## Other responses

- `422`: Validation Error

---

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