/
v3.0.11Get access

resetPasswordViaSms

Reset user password using a verification code received via SMS

Request parameters:

Name
DescriptionTypeValuesDefault
key
Username or phone number string (Phone number with the code prefix without + or 00 symbol)string--
resetCode
Reset code received via SMSstring--
confirmationCode
A secondary validation string used to ensure the integrity of the reset session and confirm the identity of the requesterstring--

Call example:

resetPasswordViaSms({
  key: 'username1234',
  resetCode: '123456'
})

Response examples:

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