> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deskhoot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks

> Tell your systems when something happens

A webhook tells your own system when something happens in DeskHoot, such as a new lead. DeskHoot sends a message to an address on your server each time.

> [!NOTE]
>
> This needs a developer to add an address to your system that receives the messages.

To add one, open [**Settings › Webhooks**](https://app.deskhoot.com/app/settings?tab=webhooks) and select **New webhook**. The address has to start with `https://`, and DeskHoot does not follow redirects.

> [!WARNING]
>
> Every event is selected to begin with, but the three meeting events cannot be saved yet. Unselect **Meeting booked**, **Meeting moved** and **Meeting cancelled** before you create or save a webhook. Otherwise you see "Check the highlighted fields."

> [!NOTE]
>
> Only admins can make or change webhooks. A project can have up to 10.

## Events

| Event | Sent when |
| - | - |
| **New conversation** | A customer sends their first message. |
| **New message** | A customer, a teammate or AutoPilot sends a message the customer can see. Private notes are never sent. |
| **Resolved** | A conversation is [resolved](https://docs.deskhoot.com/conversations/manage.md#resolve). |
| **Lead collected** | A customer fills in your [Collect leads form](https://docs.deskhoot.com/tools/forms.md). |
| **Data collected** | A customer fills in a Collect data form. |
| **Action ran** | One of your [actions](https://docs.deskhoot.com/tools/actions.md) or a [Stripe action](https://docs.deskhoot.com/tools/stripe.md) succeeds, whether a teammate or AutoPilot ran it. A declined or failed run sends nothing. |

Conversations [marked as spam](https://docs.deskhoot.com/conversations/manage.md#spam-and-block) send no **New conversation**, **New message** or **Resolved** events.

## What is sent

Each message carries the event, when it happened, the conversation with its inbox, status and a link, the customer with their name, email and your own ID for them, and the details of the event, such as a form's answers.

## The signing secret

DeskHoot signs every message, so your server can check that it really came from DeskHoot. The secret is shown once, when the webhook is made. Copy it for your developer.

> [!WARNING]
>
> **Replace** makes the old secret stop working straight away. Until your server uses the new one, it cannot check what DeskHoot sends.

## Delivery

| | How it works |
| - | - |
| **Delivered** | When your server answers with success within 10 seconds. |
| **Retries** | A failed message is tried up to 6 times in all, over about five minutes, then given up. |
| **Recent deliveries** | The latest 20, each with the event and what happened. |

## Test and pause

* **Send test event** sends a test message. It shows under **Recent deliveries** in a moment.
* **Pause** stops sending, including retries already waiting. Events that happen while paused are not sent later, and a test event is not sent until you resume.
* Changing a webhook's address or events keeps its secret.

## Related

> [card] [Forms](https://docs.deskhoot.com/tools/forms.md)
>
> Ask for details in the chat.

> [card] [Actions](https://docs.deskhoot.com/tools/actions.md)
>
> Requests to your own systems.

> [card] [Your own API](https://docs.deskhoot.com/tools/custom-source.md)
>
> Show details from your own system.

> [card] [Data, exports and API keys](https://docs.deskhoot.com/account/data.md)
>
> Your project's data.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.