# FE\&R Webhooks

### Server-side Webhooks

The Webhooks integration is available in your account's Integration Hub.

This integration allows you to trigger alerts based on the types of actions performed within your account.

### Definition

A webhook enables applications or software to send real-time alerts to third-party applications when specific events occur. It is configured to push notifications to a URL (Hook URL) designated by the tier interested in the event.&#x20;

{% hint style="info" %}
Each webhook event sent to your configured URL includes both event-specific parameters (such as the event name or related resource details) and common metadata (such as the date and time of the trigger).

For detailed technical information about webhook structure and payloads, please refer [to the developer portal.](https://docs.abtasty.com/server-side/integrations/webhooks-integrations)
{% endhint %}

### Configuration

To access the Webhooks creation&#x20;

Go to **Integrations > Feature Experimentation panel**

1. Click *Create*.
2. Select your environment&#x20;
3. Choose the event you want to be alerted about.
4. Enter the webhook URL that should receive the alerts.
5. Add a short description to identify this webhook's purpose.
6. Click *Create*: The created webhook appears in a new line.

**Supported events types:**

| **Event type**                       | **Gives an alert when...**                                                     |
| ------------------------------------ | ------------------------------------------------------------------------------ |
| Flag created                         | Triggered when a new feature flag is created                                   |
| Flag removed                         | Triggered when a feature flag is deleted                                       |
| `Campaign.status.changed`            | Triggered when a campaign changes lifecycle status (e.g., draft, live, paused) |
| Project access granted to user       | Triggered when a user is granted access to a project                           |
| Project edit role granted to user    | Triggered when a user is granted edit permissions within a project             |
| <p></p><p>Project access removed</p> | Triggered when a user’s access to a project is revoked                         |
| Account access granted to user       | Triggered when a user is granted access to an account                          |
| Account edit role granted to user    | Triggered when a user is granted edit permissions at the account level         |
| Account access removed               | Triggered when a user’s access to an account is revoked                        |

### Use case <a href="#use-case" id="use-case"></a>

To receive real-time notifications when campaign statuses change (e.g., `Draft`→ `Live`, `Live` → `Paused`), create a webhook endpoint in your infrastructure. This endpoint will generate a public URL that can receive HTTP POST requests.

Once your endpoint is ready, configure the webhook in the platform by selecting the **“Campaign Status Changed”** event and entering the URL you created.

When a campaign status updates, an event payload is sent to your endpoint URL. Your server can process this data to trigger internal workflows, like Slack notifications, updating monitoring dashboards, or logging changes for audit purposes.

This setup enables automatic synchronization between the platform and your internal systems.
