Webhook
Webhook Intro
Webhooks on JigsawStack.
What is a webhook
Webhooks are used to push real-time data to you about changes(updates) to certain API requests. All webhooks use HTTPS and deliver a JSON payload that can be used by your application. You can use webhook feeds to do things like:
- Create alerts in your messaging or incident tools based on event types
- Store all payload events in your own database for custom reporting/retention
- Update the status of an async request in your application.
Steps to receive webhooks on JigsawStack
- Create a webhook endpoint to receive requests on your server. E.g
https://your-domain.com/api/webhook
- Attach your webhook endpoint to the body parameters of an API that supports webhooks. See example below:
Sample Webhook Result
Logs API
To enable webhook for the Logs API, follow the steps below:
- Under the Settings tab, select Webhook
- Enable the type of logs to receive i.e
Success logs
orError logs
- Add webhook URL in the endpoint field.
- Click
Create
button to save.
Hurray! You can now receive log events.
To secure your webhook, follow this guide Secure Webhook
Was this page helpful?