Skip to content
These docs describe Tradr v0.17.0. Running an older release? Check the release notes for what changed.

Whether two-factor is enabled for the signed-in user.

GET
/api/auth/two-factor
curl --request GET \
--url https://api.tradr.cloud/api/auth/two-factor

Returns { enabled } — true once an enrolment has been confirmed, false otherwise (including a started-but-unconfirmed enrolment). Requires an authenticated session. Read-only and side-effect-free.

The two-factor status.

Media typeapplication/json
object
enabled
boolean
Examplegenerated
{
"enabled": true
}

No authenticated session.