Creating and managing Webhooks

By Shane Wall

Last Update 2 个月前

Webhooks allow you to send real-time notifications of events within tawk.to to external services. You can choose to send a webhook event when a chat begins, ends, when a ticket is created or all three.

When any of these events take place you can set up a webhook to perform a corresponding task such as send an email, notify a slack channel, add data to a spreadsheet or CRM.

To start setting up your Webhooks, make your way to the Administration section of the Dashboard by clicking the cog in the bottom left corner then select Webhooks from the Settings list.

If you have multiple properties, make sure to check you're currently viewing the correct one by hovering over the hamburger icon at the top of the Dashboard.

On the Webhooks page, you'll see a list of all of the previously created webhooks, you can enable or disable the webhook by switching it on or off, delete it by selecting the red trash can or make changes to it by clicking the pencil symbol.

To make a new Webhook, click the green + Create Webhook button in the top right corner of the window.

Every Webhook needs three things, a Name an Endpoint URL and an Event.

The Name is just a description so you can keep track of what the webhook does. The Endpoint URL is a URL that has been configured to receive the webhook, you'll have to set this part up yourself. The final part of the webhook is the Event, here you can choose what will make the webhook activate and send the webhook payload to the endpoint. It can be a chat starting, a chat ending, a new ticket being created or a combination of the three.

Once you've made your selections make sure to click the green Save button to keep the changes you've made.

For more in-depth information on how our webhooks work, visit our developer portal at developer.tawk.to/webhooks/

Was this article helpful?

1 out of 4 liked this article

Still need help? Message Us