From 27c84292abe3a12617f7bd320286ecf5964d41ce Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 15 Aug 2024 11:02:25 +0200 Subject: [PATCH 1/2] Updated HC webhooks article with Eshas changes --- umbraco-heartcore/getting-started/webhooks.md | 29 ++++++++++++++----- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/umbraco-heartcore/getting-started/webhooks.md b/umbraco-heartcore/getting-started/webhooks.md index 23a7dc22bed..300cff8b266 100644 --- a/umbraco-heartcore/getting-started/webhooks.md +++ b/umbraco-heartcore/getting-started/webhooks.md @@ -12,13 +12,31 @@ One common use case is building static websites. By adding a webhook, you can in Webhooks are managed from a dashboard in the settings section of the backoffice. -![Webhooks dashboard](images/webhooks-dashboard.png) +1. Go to the **Settings** section. +2. Expand the **Headless** folder in the **Settings** tree. +3. Select **Webhooks**. + ![Webhooks dashboard](images/webhooks-dashboard.png) +4. Click **Create Webhook**. +5. The **Add webhook** menu opens on the right side. -Clicking **Create webhook** will open a screen where you can configure desired behaviour for the hook. +6. Enter the **URL** that the webhook should call. +7. Select the **Event** for which the webhook should be triggered. +8. Choose a **Content Type** you wish the webhook to be triggered on. + ![Create webhook screen](images/webhooks-add.png) -![Create webhook screen](images/webhooks-add.png) + {% hint style="info" %} + Selecting the Content Type is the initial step. This field is not mandatory. + {% endhint %} -An overview of possible configuration options is as follows. +9. Click **Create**. + +Once the webhook has been created you can manage it from the dashboard. + +![Manage your created webhooks](images/webhooks-manage.png) + +## Webhook Configuraiton + +Below is an overview of the webhook configuration options. * **Url** @@ -40,9 +58,6 @@ An overview of possible configuration options is as follows. Configure custom HTTP headers to be sent with the request. May be useful for e.g. identifying the source of a request or for authorization. -Once the webhook has been created you can manage it from the dashboard. - -![Manage your created webhooks](images/webhooks-manage.png) ## Webhook behaviour specifics From e26090ccb3179d2b94f52cfb2d28e7857e3df2fd Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 15 Aug 2024 15:23:00 +0200 Subject: [PATCH 2/2] Added a line back --- umbraco-heartcore/getting-started/webhooks.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umbraco-heartcore/getting-started/webhooks.md b/umbraco-heartcore/getting-started/webhooks.md index 300cff8b266..134b758f807 100644 --- a/umbraco-heartcore/getting-started/webhooks.md +++ b/umbraco-heartcore/getting-started/webhooks.md @@ -34,6 +34,8 @@ Once the webhook has been created you can manage it from the dashboard. ![Manage your created webhooks](images/webhooks-manage.png) +To temporarily pause/disable the webhook, click on Edit and toggle the Enabled field. + ## Webhook Configuraiton Below is an overview of the webhook configuration options.