---
title: "TOTP setup"
method: POST
path: "/account/link/totp/setup"
tags: ["account"]
---

# TOTP setup

`POST /account/link/totp/setup`

Start TOTP setup, returns QR and manual key

## Response `200`

Default Response

- object
  - `otpauthUri` string, required
  - `manualEntryKey` string, required
  - `qrCodeDataUrl` string, required

## Other responses

- `401` — Default Response
- `500` — Default Response

## Changes

- **2026-07-17** `b2c23a2d8170` — 1 info
  - endpoint added
- **2026-01-14** `4f6c72308c7a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/blockmatic/apis/basilic-api/changes/account/link/totp/setup/post.md)

---

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