Reports whether the caller's sign-in asks for a code.
GET
Errors
401 when nothing was signed in, 403 when a bearer token was used.
sessioncookie
tessera_session<token>Set by POST /auth/login. A browser sends it automatically; it is HttpOnly, so page scripts cannot read or set it.
Whether two-step sign-in is on
application/json- response
Whether the account asks for a second step, as GET /account/mfa reports.
recovery_codes_left*integerHow many recovery codes are left unused.
Format
int64Range
0 <= valuetotp_enabled*booleanWhether signing in with the password asks for a code.
curl -X GET 'https://example.com/api/v1/account/mfa'{ "recovery_codes_left": 0, "totp_enabled": true}