Verify Code

Verifies the OTP that was sent to the user's email as part of a password reset workflow. If the verificationCode is invalid, a 400 response will be returned containing a Constraint Violations Error like the following:

{
  "type": "constraint_violations_error",
  "code": "message_body_constraint_violations",
  "message": "Field violations were detected in the request body",
  "ticket": "jgqgau2nj4eobeaje6m4jhoop8",
  "violations": {
    "emailAuthCode": [{
      "verificationCode": "invalid_verification_code"
    }]
  }
}

Required Permissions

Below is the list of required permissions needed to interact with this API. For each permission, the allowed permission boundaries are also specified.

PermissionBoundaryDescription
password-reset-workflow:executeApplicationThe subject can perform this operation for requests associated with the application to which the subject belongs.
Language
Credentials
Bearer
JWT
URL
Click Try It! to start a request and see the response here!