Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Update a Webhook from the API

To update a webhook from the API, you send a PUT command to the webhook’s API endpoint with the parameter that you want to update.

See Update Org Webhook or Update Site Webhook for the sample POST structure. A sample response is provided below.

The following is an example configuration of an existing, organization-level mxedge-events webhook viewed from the API.

If you want to make a change to this webhook, you need to make a (PUT) API call from your API client to the webhook API URL /api/v1/orgs/{org_id}/webhooks/{webhook_id} with the updated configuration in the request body.

In the following example, the URL to display (GET), update (PUT), or delete (DELETE) the configuration of the webhook having the id 4ec10796-16ec-4225-aba4-xxxxxxxxxxxx is:

Note:

In place of {api-host}, use the API Host (or Endpoint) for your global region. See API Endpoints and Global Regions.

So, let's say you want to change the URL for the webhook receiver to https://enicxxxx72vx.x.pipedream.net. To do that, you need to update (PUT) the webhook API endpoint described above with the following request body: