provider Webhooks POST /webhooks/{webhookEndpointId}
@utdk/mercury /webhooks/{webhookEndpointId}
Update an existing webhook endpoint
Update the configuration of an existing webhook endpoint. A webhook that has been disabled due to consecutive delivery failures can be reactivated by setting its status to 'active'.
webhookEndpointId path required
string

Try it

Authentication
Configure credentials for Mercury API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updatewebhook
POST/webhooks/{webhookEndpointId}
Update the configuration of an existing webhook endpoint. A webhook that has been disabled due to consecutive delivery failures can be reactivated by setting its status to 'active'.

Parameters

required

Input

Event types to subscribe to. Send null to subscribe to all event types. Send an array to subscribe to specific types. Omit to leave unchanged.

Resource field paths to filter events by. When specified, webhook events will only be sent when one of these fields changes. Send null for no filtering. Send an array to filter by specific fields. Omit to leave unchanged.

The URL to which webhook events will be delivered. Omit to leave unchanged.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import mercury from '@utdk/mercury';

await mercury.updatewebhook()