Skip to content

MFA status

GET
/_torii/mfa/status
curl --request GET \
--url https://your-app.toriiauth.eu/_torii/mfa/status

Whether the current user has a confirmed TOTP factor and how many recovery codes remain.

OK

Media typeapplication/json
object
enabled
required
boolean
recoveryCodesRemaining
required
integer format: int32
Examplegenerated
{
"enabled": true,
"recoveryCodesRemaining": 1
}