Products

Solutions

Resources

Introducing Webhook Alerts: Receive real-time notification in any app

Learn how to set custom webhook alerts in any app of your choice through Akto.

Webhook Alerts in Akto
Webhook Alerts in Akto
Webhook Alerts in Akto
Author image

Ankita Gupta

2 mins

Introduction

You can configure and enable webhook alerts in Akto to receive real-time notifications whenever the system detects the occurrence of specific events like identification of a new sensitive endpoint in your API collection.

Choose the events in Akto that should trigger webhook alerts. These can be received in various platforms including Slack, Microsoft Teams, Google Chat, PagerDuty, Datadog, Opsgenie, Splunk, Trello, and many more.

What are Webhook Alerts?

Webhook alerts are real-time notifications triggered by specific events. They are sent to an external application via a webhook. These alerts allow instant communication of important information, enabling proactive responses to crucial events.

Benefits of Webhook Alerts

Monitoring new endpoints and sensitive parameters in your APIs can be time-consuming. Akto webhooks can automate this process for you. Your team can stay updated with real-time notifications for the following events in your API collection:

  • New APIs

  • New sensitive APIs

  • Changes in old APIs

    • New parameters

    • New sensitive parameters

Configure Webhook Alert

You can configure Webhook Alerts in Akto in two ways:

1. Default Webhook Alert

To begin, navigate to settings → Integrations → Webhooks and click on Configure. Create a custom webhook by adding a name, URL, and selecting the events for alerts. Specify the time intervals for receiving these alerts. For example, if you choose 15 minutes, the webhook will run at 15-minute intervals.

The demonstration below outlines the steps to create a webhook alert for Akto’s default events.

2. Custom Webhook Alerts

In the default alerts above, you selected Akto default events for notifications. With custom alerts, you can create your own webhook payload or edit the default one based on the format that the target application expects. In the demonstration below, we have illustrated the steps to help you write your own custom webhook payload.

Example of webhook alert with google chat:

  • URL:  https://chat.googleapis.com/v1/spaces/<SPACE>/messages?key=KEY&token=TOKEN

  • Query params: {}

  • Headers: {'content-type': 'application/json'}

  • Payload:

{"text": "{\"New Endpoint Count\": ${AKTO.changes_info.newEndpointsCount},\n  \"New Sensitive Endpoint Count\": ${AKTO.changes_info.newSensitiveEndpointsCount},\n  \"New Sensitive Parameter Count\": ${AKTO.changes_info.newSensitiveParametersCount},\n  \"New Parameter Count\": ${AKTO.changes_info.newParametersCount}\n}"}

Here is the results of the above custom webhook:

Go ahead and set those alerts using custom webhooks in Akto. For more information, refer to the detailed documentation here.

Follow us for more updates

Follow us for more updates

Follow us for more updates

Want to ask something?

Our community offers a network of support and resources. You can ask any question there and will get a reply in 24 hours.

Want to ask something?

Our community offers a network of support and resources. You can ask any question there and will get a reply in 24 hours.

Want to ask something?

Our community offers a network of support and resources. You can ask any question there and will get a reply in 24 hours.

Table of contents