Webhooks
Receive events from external services like Stripe
Overview
Register inbound webhook endpoints to receive events from external services (Stripe, GitHub, custom). When an event arrives, Recursiv can execute handler code in your project’s sandbox automatically.
All webhook methods are available on r.webhooks.
Methods
Register a webhook
Point your Stripe webhook URL to: https://api.recursiv.io${webhook.endpoint}
List webhooks
Delete a webhook
How it works
- You register a webhook with a provider name and optional handler code
- Recursiv gives you an endpoint URL to configure in the external service
- When the external service sends an event, Recursiv receives it
- If handler code is defined, it executes in your project’s sandbox with the event payload
- The event is also published to the platform event stream for other consumers
Webhook handler code runs in your project’s E2B sandbox with a 30-second timeout. The handler has access to your project’s database and environment.