/
v3.0.11Get access

sendVerificationCodeForLoginBySms

This command is used for new login flow via sms. User should pass his/her username to get confirmation code for login action, this command is activating when current skin has enabled One time password login flow's config from CMS.

Request parameters:

NameDescriptionTypeValuesDefault
login
Required parameter login, client's registered username to send verification code for login actionstring--

Call example:

sendVerificationCodeForLoginBySms({
  login: '[email protected]'
})

Response examples:

{
  code: 0,
  rid: '0',
  data: {
    result: 0,
    result_text: null,
    details: []
  }
}