---
title: "POST /api/auth/verify-totp"
method: POST
path: "/api/auth/verify-totp"
tags: ["Auth"]
---

# POST /api/auth/verify-totp

`POST /api/auth/verify-totp`

## Request body

- VerifyTotpBody
  - `totpCode` string, required
  - `totpSessionId` string, required

## Response `201`

- LoginDto
  - `success` boolean, required
  - `totpSessionId` string

## Changes

- **2025-05-09** `0db10235cd0a` — 1 warning, 1 info
  - removed the request property `redirectUrl`
  - added the success response with the status `201`

[Change history](https://skmtc.dev/runtipi/apis/runtipi-api/changes/api/auth/verify-totp/post.md)

---

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