Skip to main content
POST
Start two-factor authentication setup

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>. Tokens expire (30 days by default) and stop working when you change or reset your password.

Response

A new secret was generated. Nothing is enabled yet.

secretCode
string

Base32 secret to enter in an authenticator app.

qrcode
string

The same secret as a QR code, as a PNG data: URL.