Skip to main content
GET
/
api
/
v1
/
auth
/
user
/
2fa
/
status
Get Totp Status Package Alias
curl --request GET \
  --url https://api.hevn.finance/api/v1/auth/user/2fa/status \
  --header 'Authorization: Bearer <token>'
{
  "enabled": true,
  "recoveryCodesRemaining": 0
}

Authorizations

Authorization
string
header
default:Bearer <token>
required

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

Response

200 - application/json

Successful Response

Response for 2FA status check.

enabled
boolean
required
recoveryCodesRemaining
integer
default:0