Skip to content

Validate reset SMS OTP

Request

Validate a reset password OTP.

Required permissions: apps:execute, [appId]:execute, auth:execute.

Security
ClientAccessToken
Bodyapplication/jsonrequired
phone_numberstringrequired

Phone number that the SMS OTP was sent to

passcodestringrequired

OTP to validate

curl -i -X POST \
  https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp/validate \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "phone_number": "string",
    "passcode": "string"
  }'

Responses

Bodyapplication/json
resultstringrequired

Reset token to be used when sending a reset request (/auth/password/reset)

Response
{ "result": "string" }