Webhook Integration (v1)
Current Version - This documentation covers the v1 webhook system used with the v1 Pixel. For legacy webhooks, see Legacy Webhooks.
Quick Access
Svix Portal
Access the Svix webhook portal directly from your MDB dashboard
Event Types & Payloads
View all available webhook event types and their payload schemas
Implementation Guide
Learn how to receive and handle webhooks with Svix
Getting Started
Step 1: Configure Your Webhook
- Login to your MDB dashboard at mdb.tools/dash
- Navigate to webhooks and create a new webhook endpoint
- Add your HTTPS endpoint URL where you want to receive webhooks
- Save your configuration
Step 2: Implement Webhook Handling
MDB uses Svix for webhook delivery, which provides:- Automatic retries with exponential backoff
- Webhook signature verification for security
- Dashboard monitoring for delivery status
- Delivery logs for debugging
- Event replay capabilities
Svix Implementation Guide
Follow the comprehensive Svix guide with framework-specific examples, security best practices, and troubleshooting tips
Step 3: Verify Webhook Signatures
For security, always verify webhook signatures. Svix provides libraries for all major languages:- Node.js/JavaScript - Verification guide
- Python - Verification guide
- Go - Verification guide
- Ruby, PHP, Java, Rust, and more - See all languages
Find your webhook secret in your MDB dashboard or the Svix portal.
Monitoring & Management
Accessing the Svix Portal
Access the Svix webhook portal to monitor and manage your webhooks:- Via MDB Dashboard - Go to mdb.tools/dash/pixel-wrap/webhook-portal
- Direct Access - Visit the Svix Dashboard
What You Can Do in the Portal
- View event types and their payload schemas
- Monitor delivery status in real-time
- Review event logs for debugging
- Replay failed events for testing
- Track performance metrics and success rates
- Inspect payloads from actual webhook deliveries
- Configure retry settings and alerting
Event Types & Payloads
For complete information about available event types and their payload structures, visit the Svix Event Types documentation.
- Visit Event Types Documentation
- Click on any event type to see its full payload schema
- Use the schema to implement type-safe webhook handlers
Best Practices
Security
- Use HTTPS - Always use secure endpoints for webhook URLs
- Verify signatures - Always verify Svix webhook signatures (guide)
- Validate payloads - Check that incoming data matches expected structure
- Monitor events - Use the Svix portal to track webhook activity
Reliability
- Return 2xx status codes - Any 2xx status code indicates successful receipt
- Respond quickly - Return within 30 seconds to avoid timeouts
- Process asynchronously - Don’t block webhook response with heavy processing
- Handle retries - Design endpoints to be idempotent
- Monitor delivery - Track success rates in the Svix portal
Implementation
- Follow Svix guides - Use the official implementation guide
- Use Svix libraries - Leverage official SDKs for signature verification
- Test thoroughly - Use the portal to replay events and test your endpoint
- Handle all event types - Be prepared for different event schemas
Resources
Svix Portal
Monitor and manage webhooks
Event Types
View payload schemas
Implementation Guide
Learn how to receive webhooks
Signature Verification
Secure your webhooks
Troubleshooting
Common Issues
- Webhook not received - Check endpoint URL in your MDB dashboard
- Invalid signature - Verify you’re using the correct webhook secret from the portal
- Timeout errors - Ensure your endpoint responds within 30 seconds
- Unknown event type - Check event types documentation for current schemas
Getting Help
- Check Svix logs - View detailed delivery logs in the webhook portal
- Review Svix docs - See troubleshooting guide
- Replay events - Test your endpoint with the replay feature in the portal
- Contact support - Reach out to [email protected]
Next Steps
- Review event types - Check the Svix Event Types to understand all available webhooks
- Access the portal - Login to the Webhook Portal via your MDB dashboard
- Implement webhook handling - Follow the Svix implementation guide
- Verify signatures - Add signature verification to your endpoint
- Test thoroughly - Use the portal to replay events and verify your implementation
- Monitor delivery - Track webhook performance in the Svix Dashboard
Remember: The v1 webhook system has different event types and payloads than legacy webhooks. Always refer to the Svix documentation for the most current schemas.