---
title: "Verify TOTP during login"
method: POST
path: "/users/totp/verify-login"
tags: ["Users"]
---

# Verify TOTP during login

`POST /users/totp/verify-login`

Verifies the TOTP code during login.

## Request body

- object
  - `temp_token` string
  - `totp_code` string

## Response `200`

TOTP verification successful.

## Other responses

- `400` — Token and TOTP code are required.
- `401` — Invalid temporary token or TOTP code.
- `404` — User not found.
- `500` — TOTP verification failed.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
