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
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 Webhooks, step by step
An owner or admin sets it up in Configure › Notifications. Each agent has its own places.
Add a webhook
- 1In the dashboard, open Configure › Notifications and click Send somewhere new.
- 2Choose Webhook, give it a name and paste a public https address.
- 3Tick what it should hear about.
- 4Copy the signing secret (it starts with whsec_) and verify every request with a Standard Webhooks library.
- 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.
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.
Alerts
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