Location Intelligence Webhooks

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

ip-validation

Step Completed

"step" : {
  "status" : 200, 
  "id" : "ip-validation", 
  "error" : null, 
  "data" : {
    "country" : "Venezuela", 
    "countryCode" : "VE", 
    "region" : "Distrito Federal", 
    "regionCode" : "A", 
    "city" : "Caracas", 
    "zip" : "", 
    "latitude" : 10.5048, 
    "longitude" : -66.9208, 
    "safe" : true
  }
}

Step Error

"step" : {
  "status" : 200, 
  "id" : "ip-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "ip.notFound", 
    "message" : "No ip data found"
  }
}
"step" : {
  "status" : 200, 
  "id" : "ip-validation", 
  "data" : {
    "country" : "United States", 
    "countryCode" : "US", 
    "region" : "Texas", 
    "regionCode" : "TX", 
    "city" : "McAllen", 
    "zip" : "78505", 
    "latitude" : 26.2034, 
    "longitude" : -98.23, 
    "safe" : true
  }, 
  "error" : {
    "type" : "StepError", 
    "code" : "ip.restricted", 
    "message" : "The user is located in restricted region"
  }
}
"step" : {
  "status" : 200, 
  "id" : "ip-validation", 
  "error" : {
    "type" : "StepError", 
    "code" : "ip.notValidParams", 
    "message" : "Parameters validation error!"
  }
}
"step" : {
  "status" : 200, 
  "id" : "ip-validation", 
  "data" : {
    "country" : "Germany", 
    "countryCode" : "DE", 
    "region" : "Hesse", 
    "regionCode" : "HE", 
    "city" : "Frankfurt am Main", 
    "zip" : "60326", 
    "latitude" : 50.1049, 
    "longitude" : 8.6295, 
    "safe" : false
  }, 
  "error" : {
    "type" : "StepError", 
    "code" : "ip.vpnDetected", 
    "message" : "The user is using a VPN/Proxy"
  }
}

System Error

"step" : {
  "status" : 200, 
  "id" : "ip-validation", 
  "error" : {
    "type" : "SystemError", 
    "code" : "system.internalError", 
    "message" : "Internal error"
  }
}

geolocation

Step Completed

"step" : {
  "status" : 200, 
  "id" : "geolocation", 
  "data" : {
    "vpnDetectionEnabled" : false, 
    "ipRestrictionEnabled" : "restriction:visible", 
    "latitude" : 30.000000, 
    "longitude" : 130.000000, 
    "accuracy" : 150,
    "timestamp" :1600000000, 
    "device" : "Win32", 
    "browser" : "Chrome", 
    "platform" : "web_desktop"
  }, 
  "error" : null
}

Step Error

"step" : {
  "status" : 200, 
  "id" : "geolocation", 
  "error" : {
    "type" : "StepError", 
    "code" : "node.failed", 
    "message" : "Cannot meet dependent node"
  }
}