A webhook is a callback to a URL triggered by an event on the nativeMsg system. When this event occurs, nativeMsg will make an HTTP POST to one or more URLs set up in your account.
On the Settings page, the Webhooks section displays the webhooks added to the system and also provides options to edit and delete the webhooks.
You can add webhooks for inbound events and outbound events. A unique secret key is added to the new webhook.
Creating a new webhook
- In the Webhooks section, click the Create New Hook button.
- In the Create New Webhook dialog box, enter appropriate values.
- In the URL field, enter the URL at which you want to receive the callback for the selected event.
Note: You must enter the full URL including 'https'. For example, https://www.example.com.
- In the Events field, select the required events for the webhook.
- In the URL field, enter the URL at which you want to receive the callback for the selected event.
- Click the Create button.
The webhook is created with a unique secret key.
Editing a webhook
- In the Webhooks section, click the Edit button for the webhook.
- In the Update Webhook dialog box, make the required changes in the URL and events.
- Click the Update button.
Deleting a webhook
- In the Webhooks section, click the Delete button for the webhook.
- In the confirmation dialog box, click Yes.