cs-icon.svg

Import a Webhook

You can create a new webhook or update an existing webhook by importing a JSON file with the webhook data.

Import a new webhook

To import a webhook, log in to your Contentstack account, go to your stack, and Perform the steps given below:

  1. Click the “Settings” icon (press “S”) on the left navigation panel and select Webhooks (press “alt + W” for Windows OS, and “option + W” for Mac OS).Edit_a_Webhook_1.png
  2. Click the "Import Webhook" icon on the top right side of the page.Import_a_Webhook_2.png
  3. Browse and select the appropriate JSON file and click Import.

This imports your webhook.

Update a webhook by importing JSON file

Open the webhook that you need to update, and perform the following steps:

  1. Click the Import button available at the bottom of the webhook page.Import_a_Webhook_3.png
  2. Browse and select the appropriate JSON file and click Import.

This will update your existing webhook.

API Reference

To import the JSON body of a webhook in your stack via API, refer to the Import a webhook API request.

Was this article helpful?
^