Skip to main content
GET
2FA status (and enrollment info if disabled)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

OK

code
string
required
Example:

"OK"

message
string
required
Example:

"OK"

enabled
boolean
required
Example:

false

email
string<email>
required
Example:

"user@example.com"

secret
string | null
required
Example:

"BASE32SECRET..."

otpauth_uri
string | null
required
Example:

"otpauth://totp/Flowxi:user@example.com?secret=BASE32SECRET&issuer=Flowxi"

issuer
string
required
Example:

"Flowxi"

expires_in
integer | null
Example:

600