Skip to main content

Customer Login

Overview

Authenticate customers using email/username and password with two-factor authentication support.

Endpoint

POST /api/BPMSelfService/commands/SelfLoginCommand

Request Parameters

ParameterTypeRequiredDescription
usernamestringYesCustomer username or email
passwordstringYesCustomer password
verificationMethodTypeintegerNo2FA method: 0=Default, 1=Email, 2=SMS, 3=Authenticator (default: 0)
otpCodestringConditionalOTP code for email/SMS verification
setupVerificationCodestringConditionalTOTP code for authenticator setup verification

Response

Similar to Admin Login with customer-specific data.

Implementation

The customer login flow follows the same pattern as admin login but targets regular customers instead of administrators.