Creating and managing Webhooks

Shane Wall

Last Update há 4 meses

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, or 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, check to make sure 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 a description to help you 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 activate the webhook and send the payload to the endpoint. It can be a chat starting, a chat ending, a new ticket being created or a combination of all 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?

5 out of 12 liked this article

Still need help? Message Us