A webhook is an event-driven method of communication between applications.Unlike typical APIs where you would need to poll for data very frequently to get it “real-time”,
webhooks only send data when there is an event to trigger the webhook.
This makes webhooks seem “real-time”, but it’s important to note that they are asynchronous.In this guide, we’ll show you how to configure webhooks for your Cuuro workspace and a list of available events you can listen to.
Cuuro webhooks allow you to receive event notifications from Cuuro, such as when an analysis is created or completed. When an event occurs,
Cuuro will send an HTTP POST request to your webhook endpoint configured for the event type.
The payload carries a JSON object. You can then use the information from the request’s
JSON payload to trigger actions in your app, such as sending a notification or updating a database.Cuuro uses Svix to send our webhooks.
Only accept requests coming from Svix’s webhook IPs: To further prevent attackers from flooding your servers or wasting your compute, you can ensure that your webhook-receiving api routes only accept requests coming from Svix’s webhook IPs, rejecting all other requests.