Webhook
Integrate your preferred project tools and issue trackers using a webhook
Webhooks
A webhook enables an application to send real-time data or notifications to other systems. It’s an event-driven mechanism to integrate systems that works like a reverse user-defined API callback over HTTP using the POST method.
Simply put, it's a lightweight way for one system to communicate with and notify another system over HTTP about an event or a change.
For instance, if you want to retrieve data about a bug captured via BetterBugs in your application, your application’s webhook URL entered into BetterBugs can simplify this process. Rather than having your application initiate an API call to fetch data from BetterBugs, the webhook URL (serving as your application's endpoint) enables BetterBugs to perform a POST request automatically.
This request delivers the complete data (as a JSON payload) directly to your application. Your application can then process the payload and utilize the retrieved information as needed.
How it works
Here’s how it works:
Setup — Your application provides a webhook URL to BetterBugs. This URL acts as the endpoint where data will be delivered.
Event Trigger — When you create a report with BetterBugs and share it with your application, BetterBugs dispatches an HTTP POST request to the set webhook URL.
Payload Delivery — The HTTP request contains the event data (payload) in a JSON format, which gets delivered to your application and can then be processed as required.
Example use case
If you have a project management application, you can integrate a webhook to retrieve all the information for the software issue or bug captured using BetterBugs to send it to your application backend servers. Your application can then process the sent data (such as bugId, workspaceId, projectId, description, status, priority, type, sessionUrl, and others), visualize, display, or use it as required on the frontend.
Benefits
Benefits of using BetterBugs webhook:
Send technical data and developer-friendly details of the bugs to your project tools and issue trackers.
Save massive time, resources, and manual effort for bug reporting and debugging workflows.
Cut back on to-and-fro communication for reporting and fixing bugs, and manual copy-pasting of information.
Steps for adding your application webhook
Adding your webhook is super simple. Here are the steps for it:
Sample JSON payload sent by BetterBugs using a webhook URL
Here’s what the payload looks like being sent via webhook:
Last updated
Was this helpful?