Webhook integration allows for programmatic interactions, enabling you to connect AuthAlert with CRM systems or other communication channels beyond Mailgun. This integration empowers you to automate security responses such as triggering notification emails, SMS alerts, or flagging high-risk user accounts and transactions.
To set up webhook integration with AuthAlert, follow these detailed steps:
Once the webhook integration is activated and configured, AuthAlert will send a JSON payload to your specified webhook URL whenever a new device is detected. Here is an example of the payload you will receive:
{
"user_id": "HZkj3L8we0gZjnHlrxziA53e1TH2",
"email": "",
"first_name": "",
"last_name": "",
"device_id": "6uex31zf1tx",
"subscription_id": "q9enh4fcvjmPDDVR1mNT",
"new_device": {
"device_id": "6uex31zf1tx",
"os": "Mac OS X",
"os_version": "10",
"browser": "Firefox",
"browser_version": "128",
"device_brand": "Apple",
"device_model": "Mac",
"device_family": "Mac",
"country": "AU",
"region": "NSW",
"city": "Sydney",
"city_lat_long": "-33.868820,151.209295",
"detection_time": 1615819845,
"timezone": "sydney/australia"
}
}
This payload provides comprehensive details about the user and the new device, allowing you to effectively automate and customize your security responses.
With the comprehensive information provided in the webhook payload, you can enhance your security measures and user experience in various ways:
Learn more about how to boost your application security in software development