Skip to main content
Verify a one-time password (OTP) code provided by a multifactor authentication (MFA) device. Use this action to verify an OTP code provided by SMS, Email, or Authenticator. Note: The Device ID parameter is required when verifying an authenticator OTP, but not needed for Email or SMS. Required Scope: Manage All.
External DocumentationTo learn more, visit the OneLogin documentation.

Parameters

ParameterDescription
Device IDThe ID of the MFA device registered for the user. Required for Authenticator OTP.
OTPThe OTP code provided by the device or SMS message sent to the user. Valid length is 4-8192.
User IDThe ID of the user.

Example Output

{
	"status": {
		"type": "success",
		"code": 200,
		"message": "Success",
		"error": false
	}
}

Workflow Library Example

Verify Factor with Onelogin and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop