What are webhooks
It is an event-driven approach that ensures a service provider can send the right notification to the right external services at the time it occurs. In another way, it is a machine to machine architectural pattern that enables a client API to receive updates to data as they happen, rather than polling for the latest updates.
How it works
When an event is fired inside Price Edge that a webhook is registered to, a request will be sent to the registered endpoint with the following signature
Register a new web hook
If you choose “includeData”: true, the max repsonse body size is 8000 chars, which can result in invalid JSON if longer
includeData and includeDataCacheKey are mutually exclusive. Use one or the other, not both.
For webhooks that deliver a cache snapshot instead of row data, see Webhook cache snapshot.
List registered web hooks
Unregister web hooks
Test web hooks
This will simulate a change in the object it is registered to. It could mean that other hooks registered to the same event will also receive a ping (this behaviour will change in the future to only send the notification to this specific webhook)