Why webhooks?
Webhooks allow you to listen to events happening in your Dynamic environment and integrate applications to automatically receive information about those events. To enable webhook events, you need to register webhook endpoints. After you register them, Dynamic can push real-time event data to your application’s webhook endpoint when events happen within your Dynamic environment. Dynamic sends webhook events to your app as a JSON payload that includes an Event object.Events
Events are our way of letting you know when something happens in your Dynamic environment. When an event occurs, we create a new Event object. For example, when a user links a wallet, we create awallet.linked
event. Certain API requests might create multiple events. For example, when a user first signs in to your environment, we create a user.created
event, and when a user successfully authenticates, we create a user.session.created
event.
What generates events?
Source | Trigger |
---|---|
Developer Dashboard | When you call an API by modifying Dynamic resources in the Developer Dashboard. |
SDK | When a user action in your app or website integrating the SDK results in an API call. |
API | When you call an API directly. |
Next Steps
- Learn about Event Structure to understand how events are formatted
- Set up your first webhook to start receiving events
- Review Delivery & Best Practices for production implementation