# Webhook

> A webhook is an automatic message one system sends to another over the internet when an event happens, for example “a new contact was created” or “an order was paid”. Instead of asking every few minutes whether something changed, your system receives the event right away at an address you choose.

Source: https://toti.chat/en/glossary/webhook/
Updated: 2026-11-27

## How do you use a webhook?

1. Your developer creates an address (URL) that accepts POST requests.
2. You register it in the sending system and choose the events.
3. The system posts a JSON body to that address each time the event happens.
4. Your system checks the signature to be sure the call is genuine.

## Example

When an order is paid in TotiChat, a webhook tells the shop’s warehouse system to start packing, without anyone copying the order.

## In TotiChat

Webhooks are available from the Pro plan (10 endpoints on Pro, 50 on Business) under **Developers → Webhooks**. Each request carries a `Toti-Signature` header with an HMAC-SHA256 signature made with your endpoint’s secret, and failed deliveries can be replayed.
