Set up TOTP
Profile & security
Set up TOTP
Session-only. Begin two-factor enrollment. Returns the base32
secret, an otpauth:// URI, and a QR data URL to scan. Enforcement
does not start until POST /me/totp/enable confirms a live code.
POST
Set up TOTP
Authorizations
Browser session cookie minted by POST /auth/login (or passkey
login). httpOnly, SameSite=Lax, 24 h TTL. Endpoints marked
Session-only accept only this credential and return
403 session_required for API keys.