provider Webhooks POST /webhooks
@utdk/mercury /webhooks
Create a new webhook endpoint
Register a new webhook endpoint to receive event notifications

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.

createwebhook
POST/webhooks
Register a new webhook endpoint to receive event notifications

Input

Optional array of event types to subscribe to. Nothing means subscribe to all event types.

Optional array of resource field paths to filter events by. When specified, webhook events will only be sent when one of these fields changes. Nothing means no filtering (all events are sent).

required

The URL to which webhook events will be delivered

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.createwebhook()