> ## Documentation Index
> Fetch the complete documentation index at: https://fermata-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks

> We support the following webhook events

* `negative_balance`: called whenever there is an event for a user that results in a negative balance

* `balance_change`: called anytime a user's balance changes

* `auto_refill`: called whenever a refill is triggered automatically (monthly plan renewal for example)

* `threshold`: called whenever a customizable threshold is hit for a given account

## Create webhooks

Within the settings tab of Fermata control, select Webhooks + Flagbacks from the left hand rail.

<Frame>
  <img src="https://mintcdn.com/fermata-preview/WmAtly2ycx28MU07/images/create-webhooks-1.png?fit=max&auto=format&n=WmAtly2ycx28MU07&q=85&s=1cd84634adfad9e065287e2fe0ce8b9b" alt="Create Webhooks" width="3200" height="2210" data-path="images/create-webhooks-1.png" />
</Frame>

When creating a webhook you can select the specific event topic. For threshold webhooks, you can customize the specific threshold you'd like set.

<Frame>
  <img src="https://mintcdn.com/fermata-preview/WmAtly2ycx28MU07/images/create-webhooks-2.png?fit=max&auto=format&n=WmAtly2ycx28MU07&q=85&s=c805fdc68cd8d9ee4e23c32121370686" alt="Create Webhooks" width="3200" height="3062" data-path="images/create-webhooks-2.png" />
</Frame>

You can review specific webhook logs and dig into specific response logs as well.

<Frame>
  <img src="https://mintcdn.com/fermata-preview/WmAtly2ycx28MU07/images/create-webhooks-3.png?fit=max&auto=format&n=WmAtly2ycx28MU07&q=85&s=72776e528af7dc70642e523054af1d7b" alt="Create Webhooks" width="3143" height="3066" data-path="images/create-webhooks-3.png" />
</Frame>
