Email Check Webhooks

The following are the webhooks for the Email Check Tool. The webhooks have the following IDs:

email-ownership-validation

Step Completed

"step" : {
  "status" : 200, 
  "id" : "email-ownership-validation", 
  "data" : {
    "emailAddress" : "[email protected]"
  }, 
  "error" : null
}

Step Error

"step" : {
  "status" : 200, 
  "id" : "email-ownership-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "emailOwnership.notEnoughParams", 
    "message" : "User has not provided any valid email address"
  
}
"step" : {
  "status" : 200, 
  "id" : "email-ownership-validation", 
  "data" : {
    "emailAddress" : "[email protected]"
  }, 
  "error" : {
    "type" : "StepError", 
    "code" : "emailOwnership.unconfirmed", 
    "message" : "Entered email address has not been confirmed"
  }
}
"step" : {
  "status" :  200, 
  "id" : "email-ownership-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "emailOwnership.skipped", 
    "message" : "User skipped this step"
  }
}

email-risk-validation

Step Completed

"step" : {
  "status" : 200, 
  "id" : "email-risk-validation", 
  "error" : null, 
  "data" : {
    "emailAddress" : "[email protected]", 
    "riskScore" : 0, 
    "riskThreshold" : 80
  }
}
"step" : {
  "status" : 200, 
  "id" : "email-risk-validation", 
  "error" : null, 
  "data" : {
    "emailAddress" : "[email protected]", 
    "riskScore" : 45, 
    "riskThreshold" : 80
  }
}

Step Error

"step" : {
  "status" : 200, 
  "id" : "email-risk-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "emailRisk.riskyAddress", 
    "message" : "Email address submitted by user considered as risky"
  }, 
  "data" : {
    "emailAddress" : "[email protected]", 
    "riskScore" : 95, 
    "riskThreshold" : 40
  }
}
"step" : {
  "status" : 200, 
  "id" : "email-risk-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "emailRisk.riskyAddress", 
    "message" : "Email address submitted by user considered as risky"
  }, 
  "data" : {
    "emailAddress" : "[email protected]", 
    "riskScore" : 45, 
    "riskThreshold" : 40
  }
}
"step" : {
  "status" : 200, 
  "id" : "email-risk-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "emailRisk.skipped", 
    "message" : "User skipped this step"
  }
}
"step" : {
  "status" : 200, 
  "id" : "email-risk-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "input.failed", 
    "message" : "Cannot meet dependent input"
  }
}
"step" : {
  "status" : 200, 
  "id" : "email-risk-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "node.failed", 
    "message" : "Cannot meet dependent node"
  }
}