Retrieve Step-Up Authentication settings

Triggers Step-Up Authentication for Multi-Factor Authentication (MFA) settings, allowing Users to verify their MFA methods.

GET
/identity/v2/auth/account/reauth/2fa

Triggers Step-Up Authentication for Multi-Factor Authentication (MFA) settings, allowing Users to verify their MFA methods.

Authorization

BearerToken APIKey
AuthorizationBearer <token>

Bearer token for user authentication

In: header

apikey<token>

Tenant API Key for authentication

In: query

Query Parameters

access_token?string

Access Token of the User

smstemplate2fa?string

SMS template name to be used for sending the 2FA code to the User.

duoredirecturi?string

Duo auth redirection url.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.loginradius.com/identity/v2/auth/account/reauth/2fa?access_token=493318dd-487a-439b-8302-5e27f1110244&smstemplate2fa=SMS-Template&duoredirecturi=https%3A%2F%2Fexample.com%2Fduo%2Fcallback"
{
  "SecondFactorAuthenticationToken": "684920ba-917b-4168-b59b-eae70b430209",
  "ExpireIn": "2021-04-06T08:36:53.3005592Z",
  "QRCode": "data:image/png;base64,...",
  "PushQRCode": "https://devapi.lrinternal.com/identity/v2/auth/qr-code?apikey=xxx&token=xxxxx&size=150",
  "ManualEntryCode": "HBRWENLDHEZGIMBYHFTDINJSMVRDANDBHE4WINJTMYZTCYZSGFRA",
  "DuoAuthEndpoint": "https://api.duosecurity.com/auth",
  "IsGoogleAuthenticatorVerified": true,
  "IsPushDeviceRegistered": true,
  "IsAuthenticatorVerified": true,
  "IsEmailOtpAuthenticatorVerified": true,
  "IsOTPAuthenticatorVerified": true,
  "IsDuoAuthenticatorVerified": true,
  "IsPasskeyAuthenticatorVerified": true,
  "OTPPhoneNo": "+1234567890",
  "OTPStatus": {
    "AccountSid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "Sid": "SMXXXXXXXXXXXXXXXX"
  },
  "Email": [
    "user@example.com"
  ],
  "EmailOTPStatus": {
    "Email": "u**r@e*****e.c*m"
  },
  "IsSecurityQuestionAuthenticatorVerified": true,
  "SecurityQuestions": [
    {
      "QuestionId": "db7****8a73e4******bd9****8c20",
      "Question": "What is your pet's name?"
    }
  ]
}

{
  "ErrorCode": 908,
  "Message": "A parameter is not formatted correctly",
  "Description": "The apikey is a required parameter."
}

{
  "ErrorCode": 901,
  "Message": "The API key is unauthorized",
  "Description": "The provided LoginRadius API key is invalid or is not authorized, please use a valid or authorized LoginRadius API key or check the API key for your LoginRadius account."
}

{
  "Message": "Operation failed due to an internal error.",
  "Description": "An unknown internal error occurred, please try again in a few minutes or contact your system administrator.",
  "ErrorCode": 7909
}