# Set up & Edit Webhooks

This guide explains how to set up, configure, and manage webhooks in your Clearout App so you can automatically receive real-time notifications when important events occur, such as email validation completions, email finder results, or form guard triggers. You'll also learn how to select events, secure your webhooks, and test your integration for reliability.

## Accessing Webhooks&#x20;

To access webhook settings in Clearout:

{% stepper %}
{% step %}
Log in to your [Clearout App](https://app.clearout.io/)

{% endstep %}

{% step %}
Navigate to the **Developers** section in the main menu

{% endstep %}

{% step %}
Click on **Webhook** to access webhook management

{% endstep %}
{% endstepper %}

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2FvlGSXE8WcYesForD1aj8%2Fwebhook-dashboard-main.png?alt=media&#x26;token=5d006da3-d5c0-4921-8a8a-a69329dec121" alt="Set up &#x26; Edit Webhooks" width="563"><figcaption></figcaption></figure></div>

## Creating a Webhook&#x20;

To create a new webhook:

{% stepper %}
{% step %}
Click the **Create Webhook** button

{% endstep %}

{% step %}
Fill in the webhook configuration form

{% endstep %}

{% step %}
Select the events you want to subscribe to

{% endstep %}

{% step %}
Save your webhook configuration
{% endstep %}
{% endstepper %}

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2F6i6MiUt40kvyfE7ikk4A%2Fwebhook-create-form.png?alt=media&#x26;token=9e7e5913-6552-4538-99e5-f556c33f3142" alt="Creating a Webhook" width="525"><figcaption></figcaption></figure></div>

## Webhook Configuration  <a href="#webhook-configuration" id="webhook-configuration"></a>

When creating or editing a webhook, you'll need to configure the following fields:

#### Basic Fields <a href="#basic-fields" id="basic-fields"></a>

* **Name** - A descriptive name for your webhook
* **Description** - Description of the webhook's purpose (150 character limit)
* **URL** - The HTTPS endpoint where webhook notifications will be sent

#### Custom Headers <a href="#custom-headers" id="custom-headers"></a>

You can add custom headers to your webhook requests:

* Click **Add Header** to add a new header
* Specify the **Key** and **Value** for each header
* Common use cases include authentication headers or custom identifiers

> <mark style="color:$info;">**Header Examples**</mark>
>
> <mark style="color:$info;">You might add headers like</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`Authorization: Bearer your-token`</mark> <mark style="color:$info;"></mark><mark style="color:$info;">or</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`X-Custom-ID: your-identifier`</mark> <mark style="color:$info;"></mark><mark style="color:$info;">for authentication or tracking purposes.</mark>

#### Event Selection <a href="#event-selection" id="event-selection"></a>

Events are organized by service and displayed in a grouped checkbox format. You can view all events or only selected ones using the tabs.

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2FMM61coQM2VVipPv4DKMD%2Fwebhook-event-selection.png?alt=media&#x26;token=bac3299b-2b46-405a-82c9-0f6a61ce99e7" alt="Selecting Webhook Events for Email verification, Email Finding and Form Guard"><figcaption></figcaption></figure></div>

> **Event Selection Tips**
>
> Use the "Select all" checkbox to quickly select all available events, or expand each service section to choose specific events. For detailed information about each event and their payloads, see our [Webhook Events & Payloads](https://docs.clearout.io/webhooks/webhooks-events-payloads.html) page.

## Secret Token  <a href="#secret-token" id="secret-token"></a>

The secret token is used to verify that webhook requests come from Clearout. It's generated at the account level and shared across all webhooks.

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2Fon2AlWSCwNXvC8hbBsU1%2Fwebhook-secret-token.jpg?alt=media&#x26;token=7ceeec58-ba0d-456c-a4b3-525825eb5af0" alt="Generating Secret Token"><figcaption></figcaption></figure></div>

#### Generating Your Secret Token<br>

* In the webhook dashboard, scroll down to the **Secret Token** section
* If this is your first time, click the **Generate Token** button to create your secret token
* **Important:** Copy the generated token immediately, as it will only be visible during generation

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2FREdjK9rmYmcpapG31mxM%2Fwebhook-secret-token-generated.png?alt=media&#x26;token=ff6541ef-d572-4ea8-a87f-3c29020dbfc4" alt="Copying Generated Secret Token" width="563"><figcaption></figcaption></figure></div>

#### Rotating Your Secret Token <a href="#rotating-secret-token" id="rotating-secret-token"></a>

* Click the rotate button (circular arrow icon) next to your current token
* A new token will be generated and displayed
* Copy the new token immediately, as it will only be visible during generation
* Update your webhook endpoint to use the new token
* The dashboard will show when the token was last updated

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2FQwHpUXs1wmIaVAEGIzyO%2Fwebhook-secret-token-rotate.png?alt=media&#x26;token=a7c799b8-a3cf-40b9-95cc-de7dc884d418" alt="Rotating/Regenerating Secret Token"><figcaption></figcaption></figure></div>

> **Important**
>
> The secret token is only visible during generation or rotation. Make sure to copy it immediately and store it securely. Use it to verify webhook signatures as described in our [Validate Deliveries](https://docs.clearout.io/webhooks/validate-deliveries.html) guide.

## Managing Webhooks <a href="#managing-webhooks" id="managing-webhooks"></a>

Once you've created webhooks, they appear in the "My Webhooks" table, where you can manage them using the action buttons:

<table data-view="cards"><thead><tr><th></th></tr></thead><tbody><tr><td><h4><strong>View Event Logs</strong></h4><p>View detailed delivery history, response codes, and JSON payloads for all webhook events. Shows success/failure status and timestamps.</p></td></tr><tr><td><h4><strong>Test Events</strong></h4><p>Send test payloads to verify your webhook endpoint is working correctly. Select from available event types to simulate real webhook deliveries.</p></td></tr><tr><td><h4><strong>Edit Webhook</strong></h4><p>Modify webhook configuration including name, description, URL, custom headers, and event subscriptions.</p></td></tr><tr><td><h4><strong>Delete Webhook</strong></h4><p>Remove the webhook configuration permanently. You'll be asked to confirm the deletion before it's removed.</p></td></tr></tbody></table>

#### Webhook Table View <a href="#webhook-table-view" id="webhook-table-view"></a>

The webhook dashboard displays your configured webhooks in a table format with the following columns:

* **Name** - Your webhook name with description below
* **URL** - The endpoint URL where webhooks are sent
* **Status** - Toggle switch to enable/disable the webhook
* **Listening To** - Number of events the webhook is subscribed to
* **Actions** - The four action buttons described above

## Testing Webhooks&#x20;

You can test your webhook configuration directly from the dashboard:

* Click the **Test Events** button (paper plane icon) for any webhook
* Select the event type you want to test
* A sample payload will be sent to your webhook URL
* Check your endpoint to verify the payload was received correctly

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2F4OZzbt4aPgxEnB37bmLG%2Fwebhook-test-interface.png?alt=media&#x26;token=c26331a2-1e6f-49c1-af96-d1aa7eda64a5" alt="Testing Webhook" width="563"><figcaption></figcaption></figure></div>

> **Local Testing**
>
> For local development, use tools like [ngrok](https://ngrok.com/) to expose your local server with HTTPS. This allows you to test webhooks on your development environment.

**Next Steps**

Once your webhook is configured, learn about the [event payloads](https://docs.clearout.io/webhooks/webhooks-events-payloads.html) you'll receive and how to [validate webhook deliveries](https://docs.clearout.io/webhooks/validate-deliveries.html) for security.
