Webhooks
Learn how to use webhooks and send real-time data from your BrowserStack tests to other applications when specific events occur.
Webhooks are a platform feature available across Automate, App Automate, Test Management, Test Reporting & Analytics, and Automate self-hosted. The setup workflow, payload templates, and delivery mechanism are shared across all products. The events you subscribe to and the variables available in each payload depend on which product generates the event.
What you can do with webhooks
Use webhooks to:
- Send build, test, analytics, and test management data to your existing tools.
- Trigger downstream actions such as deployments, notifications, and ticket creation when specific events fire.
- Connect BrowserStack to ops and notification tools such as PagerDuty, OpsGenie, Jira, and Microsoft Teams.
Where to find product-specific events and variables
Each product generates its own events and exposes its own set of variables in webhook payloads. Use the table to find the right reference for the events you want to subscribe to.
| Event source | Example events | Variable reference |
|---|---|---|
| Automate, App Automate, Test Reporting & Analytics | Build status, test status, quality gate result, alert fired | Built-in variables |
| Test Management | Test case created, updated, deleted, archived | Test case variables |
| Test Management | Test plan created, updated, completed, deleted | Test plan variables |
| Test Management | Test result added | Test result variables |
Work with webhooks
Get started with webhooks right away or learn more about it:
Start creating webhooks using default or custom payloads or using templates for popular tools.
Understand the important concepts like event types, payloads, templates, variables, and auto-retrigger.
Keep payload body updated with dynamic data to configure actions in downstream tools.
Next steps
- For Test Management webhook variables, see Test case variables, Test plan variables, and Test result variables.
- To create your first webhook, follow Get Started.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!