A webhook is an automatic HTTP call one system sends to another when something happens. How TotiChat webhooks work, how they are signed and what to use them for.

In short

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.

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.

Start in 3 steps

Each step has a short guide.

  1. Create your account

    Sign up with your e-mail or phone number and name your workspace. It starts with a 3-day Pro trial.

    How to sign up
  2. Connect a channel

    Start with the channel your customers use most. A Telegram bot takes about three minutes.

    Which channel to connect first
  3. Turn on a Recipe

    Pick a ready-made automation, such as a welcome message or a keyword reply, fill in a few fields and switch it on.

    Your first automation