---
title: "Handler Enroll TOTP"
method: POST
path: "/identity/two_factor_settings/verify_totp_setup"
---

# Handler Enroll TOTP

`POST /identity/two_factor_settings/verify_totp_setup`

## Request body

- IdentityTOTPEnrollInput
  - `code` string, required
  - `current_password` string, required

## Response `200`

OK

- IdentityTOTPEnrollOutput
  - `secret` string
  - `session_token` string
  - `url` string

## Other responses

- `default` — Error response.

## Changes

- **2026-10-01** `e8f5664774d0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/stablesea/apis/stable-sea-backend/changes/identity/two_factor_settings/verify_totp_setup/post.md)

---

[API](https://skmtc.dev/stablesea/apis/stable-sea-backend.md) · [All operations](https://skmtc.dev/stablesea/apis/stable-sea-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/stablesea/apis/stable-sea-backend/revisions/352f74da5030?raw)
