Verify Email for passwordless login

Verifies the Email using the provided Verification Token for passwordless login.

GET
/identity/v2/auth/login/passwordlesslogin/email/verify

Verifies the Email using the provided Verification Token for passwordless login.

apikey<token>

Tenant API Key for authentication

In: query

Query Parameters

verificationtoken?string

Verification token received in the Email.

welcomeemailtemplate?string

Welcome Email Template

prevent_webhook?boolean

When true, suppresses webhook events for this operation.

smstemplate2fa?string

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

duoredirecturi?string

Duo auth redirection url.

Header Parameters

X-PreventWebhook?boolean

When true, suppresses webhook events for this operation.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.loginradius.com/identity/v2/auth/login/passwordlesslogin/email/verify?verificationtoken=123456&welcomeemailtemplate=Welcome-Email-Template&prevent_webhook=true&smstemplate2fa=SMS-Template&duoredirecturi=https%3A%2F%2Fexample.com%2Fduo%2Fcallback" \  -H "X-PreventWebhook: true"
{
  "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?"
    }
  ],
  "access_token": "00000000-0000-0000-0000-000000000000",
  "expires_in": "0001-01-01T00:00:00Z"
}

{
  "ErrorCode": 8173,
  "Message": "Invitation token is not valid.",
  "Description": "Invitation token is not valid, this invitation either accepted, expired or revoked."
}

{
  "errorCode": 1409,
  "message": "Authentication failed",
  "description": "The credentials provided could not be authenticated."
}

{
  "ErrorCode": 1059,
  "Message": "Password less login option is not enabled for your LoginRadius site",
  "Description": "The password less login option is not enabled for your LoginRadius site, please reach out to LoginRadius support for more information."
}

{
  "ErrorCode": 8169,
  "Message": "Invitation not found",
  "Description": "Invitation not found, Please provide valid invitation id."
}

{
  "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
}