v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
Auth

Setup two-factor authentication

Generates a TOTP secret, QR code, and provisioning URI.

post/auth/2fa/setup

Response

2FA setup data.

secretstring

TOTP secret key.

provisioning_uristring

OTP auth URI for authenticator apps.

qr_codestring

Base64-encoded QR code image (data URI).

Example response

{
  "secret": "JBSWY3DPEHPK3PXP"
}