Webhooks allows you to listen to real-time events happening across your Dock workspace. With webhooks, you can build custom integrations with Dock, such as:
  • Sending click events in real-time for further processing
  • Triggering a Slack notification when someone clicks on your pitch deck link
In this guide, we’ll show you how to configure webhooks for your Dock workspace and a list of available events you can listen to.

Creating a webhook

You must be an account admin to create a webhook.
To create a webhook for your Dock workspace, you’ll need to follow these steps:
1

Go to your account

Go to Settings and click on Webhooks from the Data Management section in the side navigation.
Create a webhook on Dock
2

Create webhook secret

Click on Create Webhook button and enter a name to create a webhook in your application. Once created, it will appear in the list on the page.
Create webhook secret
Create webhook secret
3

Verify webhook target URL

Enter the webhook target URL and click on Save to verify the webhook target URL.
Verify webhook target URL
You can click on the View Key button to see the secret key. You can use this secret key to verify incoming webhook event from Dock incase you have a custom implementation to consume webhook events.
Secret key