---
title: "Start TOTP enrolment: a new secret and its otpauth:// URI (render as QR)"
method: POST
path: "/api/me/mfa/totp/start"
tags: ["security"]
---

# Start TOTP enrolment: a new secret and its otpauth:// URI (render as QR)

`POST /api/me/mfa/totp/start`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/me/mfa/totp/start`
- Auth: none declared

## Response `200`

OK.

- object
  - `secret` string, required
  - `otpauthUri` string, required

## Other responses

- `403`: A factor is enrolled: pass it first.
- `503`: Second-factor storage is not configured.

---

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