---
title: "Enable TOTP"
method: POST
path: "/users/totp/enable"
tags: ["Users"]
---

# Enable TOTP

`POST /users/totp/enable`

Enables TOTP after verifying the initial code.

## Request body

- object
  - `totp_code` string

## Response `200`

TOTP enabled successfully with backup codes.

## Other responses

- `400` — TOTP code is required or TOTP already enabled.
- `401` — Invalid TOTP code.
- `404` — User not found.
- `500` — Failed to enable TOTP.

---

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