Skip to main content
POST
/
verification-sms
/
validate-password-reset-code
Validate Verification Code
curl --request POST \
  --url https://apigw.bienport.com/api/verification-sms/validate-password-reset-code \
  --header 'Content-Type: application/json' \
  --data '
{
  "validationCode": "1111",
  "userId": 12345
}
'
{
  "status": "code_matched / code_expired / code_not_matched",
  "passwordResetToken": "/*token*/",
  "userId": 20199
}

Body

application/json

smsValidationRequest

Request Model for Validate Sms Verification Code

validationCode
string
required

validation code

Example:

"1111"

userId
integer<int64>
required

user id

Example:

12345

Response

Sms Validation Response

status
string

Information about the match status of the submitted code.

Example:

"code_matched / code_expired / code_not_matched"

passwordResetToken
string

Token created for password reset. (It just returns the forgot password request.)

Example:

"/*token*/"

userId
integer<int64>

The ID of the user whose password will be changed.

Example:

20199