Coming soonYour agent on WhatsApp, Messenger and Instagram
ReplyBash

Chatbot webhooks

Get a signed JSON POST on your own server when a chat starts, a visitor asks for a person, a form is sent or a chat is resolved. Verify it with any Standard Webhooks library.

  • Standard Webhooks
  • Signed with HMAC-SHA256
  • On every plan
Who it's for

Made for developers

This is for developers who want chat events in their own systems: a lead in your database, a ticket in your own tool, a message in an internal app.

Webhooks follow the Standard Webhooks spec, so you don't hand-roll signature checks: its libraries for JavaScript, Python, Go, PHP, Ruby, Java and more verify each request for you.

Connect

Connect Webhooks, step by step

An owner or admin sets it up in Configure › Notifications. Each agent has its own places.

Add a webhook

  1. 1In the dashboard, open Configure › Notifications and click Send somewhere new.
  2. 2Choose Webhook, give it a name and paste a public https address.
  3. 3Tick what it should hear about.
  4. 4Copy the signing secret (it starts with whsec_) and verify every request with a Standard Webhooks library.
  5. 5Click Send test to get a sample.

Verify the raw body: parsing and re-serializing the JSON changes it and breaks the signature. The events, headers and body are in the webhook docs.

With Webhooks

What you can send

Every feature below is built and in the product today.

  • Standard Webhooks v1

    webhook-id, webhook-timestamp and webhook-signature headers, checked by any Standard Webhooks library.

  • Four events, plus a test

    conversation.started, conversation.handoff_requested, form.submitted and conversation.resolved, and test from Send test.

  • One body for every event

    Always { type, timestamp, data }, with the agent, the form's fields, the contact and a link to the conversation.

  • Skip what you've seen

    webhook-id stays the same on every retry, so a repeat is easy to spot.

  • Retried for about a day

    Anything but a 2xx within 20 seconds is tried again over about a day; a handoff alert only for a few minutes.

  • Stops when told to

    A 404 or 410 stops deliveries to that address, and owners and admins get one email.

FAQ

Webhooks questions

Something else? We answer every email.

Email us

Copy the secret (it starts with whsec_) and pass the raw body and headers to a Standard Webhooks library. It throws if the signature is wrong or the timestamp is more than 5 minutes off.

With any 2xx within 20 seconds. Do slow work after you've answered.

Anything else is retried over about a day with the same webhook-id. A handoff alert is retried only for a few minutes, and Send test isn't retried.

No. The address has to be public https; localhost and private network addresses are refused.

Not yet. An HTTP API is planned; for now, webhooks push each event to you as it happens.

Webhooks work on every plan, the Free plan included, which has 100 messages a month. Paid plans start at $39 a month with a 7-day free trial.

Put your website to work tonight

Paste your URL and chat with your agent in minutes.

Free for 100 messages a month · No credit card required