# Configuring a Webhook On Fynd Commerce, you can create and configure a webhook. Moreover, there's an option to view the reports of all your configured webhooks in which you can check the event, the payload, status, and many more. ![QG11](https://cdn.pixelbin.io/doc/original/searchlight/platform-panel/company-settings/webhook/3e.png) center em Figure 1b: Webhook Integration Page br ## Creating a Webhook Prerequisite You must have a webhook URL that is configured to receive a payload from us. In the **Webhook Settings** section: 1. Give a name to the webhook 2. Enter your target endpoint in **Webhook URL**. 3. Enter the email address on which you wish to receive alerts in case the webhook fails. 4. (Optional) Use the toggle button and enter a `secret` for the webhook endpoint. This is useful when you want to validate a webhook for the authenticity of its source (read [Webhook Validation](/commerce/docs/company-settings/webhook/webhook-testing#validating-a-webhook)). Ensure that you do not reveal or expose the secret publicly. ![QG1](https://cdn.pixelbin.io/v2/doc/original/searchlight/platform-panel/Updates-to-docs/Documentation-update/Website/webhook/figure-2-create-webhook-updated.png) center em Figure 2: Webhook Settings br In the **Events** section: 1. Choose one or more events of your company and select the event type from the drop-down. You may subscribe to more than one event. Else, create a separate webhook for other events. Also, you may click the external link icon to understand what to expect in the incoming payload. ![QG11](https://cdn.pixelbin.io/v2/doc/original/searchlight/platform-panel/Updates-to-docs/Documentation-update/Website/webhook/figure-3-events.png) center em Figure 3: Subscribing To Company Events br ![QG11](https://cdn.pixelbin.io/doc/original/searchlight/platform-panel/company-settings/webhook/saleschannel-event.png) center em Figure 4: Subscribing To Sales Channel Events br 1. You can also subscribe to events of your sales channels. To do this, choose one or more sales channels from the drop-down. 2. Select an event along with its type. If your webhook URL can handle payloads of multiple events, you may select additional sales channel events or company events. 3. Test the webhook to check whether it works correctly (read more in [Webhook Testing](/commerce/docs/company-settings/webhook/webhook-testing#testing-a-webhook)). 4. Click **Save**. 5. Turn ON the webhook. You've successfully configured a webhook. ![QG1](https://cdn.pixelbin.io/doc/original/searchlight/platform-panel/company-settings/webhook/16.png) center em Figure 5: Successful Webhook Registration br ## Editing and Updating an Existing Webhook Once you create a webhook, it will appear in the list of webhooks as shown in fig. 1. You can click on an existing webhook and edit its details. ![QG1](https://cdn.pixelbin.io/doc/original/searchlight/platform-panel/company-settings/webhook/13d.png) center em Figure 6: Updating A Webhook br At any point in time, you can edit an existing webhook to do the following: * Change the name * Enter a new webhook URL * Change the secret used for authentication * Enter a new alert email * Add or remove event types Click **Update** once you're done editing the details. ## Enabling or Disabling a Webhook In case you wish to cancel a webhook subscription, use the toggle button to turn OFF the webhook. You'll no longer receive notifications for the subscribed event. You can use the same toggle button to turn ON the webhook and re-subscribe to the event. ![QG1](https://cdn.pixelbin.io/doc/original/searchlight/platform-panel/company-settings/webhook/13e.png) center em Figure 7: Turning Your Webhook ON and OFF br