What is a Webhook?
A webhook is an HTTP request that Mobilerun sends to your server when a specific event happens. Instead of polling the API to check for updates, your server receives notifications automatically in real-time. When an event occurs:- Mobilerun detects the event (e.g., a task completes)
- Mobilerun sends an HTTP POST request to your configured URL
- Your server receives the payload and processes it
Event Triggers
Configure webhooks to fire on any of these task events:You can subscribe to multiple events with a single webhook, or create separate webhooks for different event types.
Creating a Webhook
To add a new webhook:- Click Add Webhook
- Enter your endpoint URL (must be HTTPS)
- Select which events should trigger the webhook
- Save the webhook
Webhook Payload
When an event fires, Mobilerun sends a POST request with a JSON payload containing:Managing Webhooks
Your webhook list displays:Webhook States
Edit Webhooks
Update a webhook to change:- The events it subscribes to
- Its active/disabled state
Delete Webhooks
Remove webhooks that are no longer needed. Deleted webhooks stop receiving events immediately.Use Cases
CI/CD Integration
Trigger deployment pipelines when test tasks complete successfully.
Alerting
Send notifications to Slack or email when tasks fail.
Data Processing
Store task results in your database automatically.
Workflow Automation
Chain tasks together by starting new tasks when others complete.
Integration Examples
Zapier
Connect Mobilerun to thousands of apps using Zapier. Trigger Zaps when tasks complete and automate downstream workflows.n8n
Use webhooks to integrate with n8n workflows for custom automation logic.Custom Endpoints
Build your own webhook receiver to process events however you need:For a complete, runnable receiver with HMAC verification, replay protection, and secure file
downloads, see the
Python webhook receiver example.