Overview
Webhooks allow you to receive real-time notifications when events occur in your BoostGPT project.Available Events
connector.created- MCP connector/server createdconnector.updated- MCP connector/server updatedconnector.cloned- MCP connector/server clonedconnector.deleted- MCP connector/server deletedmemory.created- Memory source createdmemory.updated- Memory source updatedmemory.deleted- Memory source deletedsubscriber.joined- Subscriber joined an agentsubscriber.verified- Subscriber verified their accountsubscriber.deactivated- Subscriber deactivated their agent accountsubscriber.subscription.checkout_started- Subscriber started checkoutsubscriber.subscription.created- Subscriber subscription createdsubscriber.subscription.renewed- Subscriber subscription renewedsubscriber.subscription.cancel_requested- Subscriber requested cancellationsubscriber.subscription.cancelled- Subscriber subscription cancelledsubscriber.subscription.paused- Subscriber subscription pausedsubscriber.subscription.resumed- Subscriber subscription resumedsubscriber.subscription.refunded- Subscriber payment refunded
Setup Webhook
1
Create Endpoint
Create an endpoint that accepts POST requests
2
Add Webhook in Dashboard
Go to Settings -> Webhooks -> Add Webhook
3
Enter URL
Provide your endpoint URL (must be HTTPS)
4
Select Events
Choose which events to receive
Webhook Payload
All webhooks send JSON payloads:Example Endpoint
Express.js
Next.js API Route
Verify Webhook Signature
Verify webhooks are from BoostGPT:Best Practices
- Return 200 quickly - Don’t process long tasks in webhook handler
- Use queues - Add events to a queue for async processing
- Verify signatures - Always verify webhook authenticity
- Handle retries - Respond with 200 to prevent retries
- Log events - Keep logs for debugging
Testing Webhooks
Test locally using ngrok:Next Steps
Error Handling
Handle webhook errors