Skip to content
Torii docs

MFA status

GET
/_torii/mfa/status
curl --request GET \
--url https://your-app.torii.so/_torii/mfa/status

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

OK

Media type application/json
object
enabled
required
boolean
recoveryCodesRemaining
required
integer format: int32
Example generated
{
"enabled": true,
"recoveryCodesRemaining": 1
}