/bff/account/setup-otp-generate-secret
Generates a fresh RFC 4226 base32 TOTP secret (160 bits) plus the canonical otpauth:// URI for QR-code rendering. The secret is NOT persisted yet — call /setup-otp-save with a verification code to enable 2FA.
AccountpostBffAccountSetup-otp-generate-secret
No parameters
This endpoint takes no path, query, header or body parameters.
Request
POST /bff/account/setup-otp-generate-secret
curl -X POST "https://api.bizkithub.com/bff/account/setup-otp-generate-secret" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
JSON payload
{
"secret": "example_secret",
"otpAuthUri": "example_otpAuthUri",
"qrCodeUrl": "example_qrCodeUrl"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.