DMSI Advanced API fires 11 webhook events covering the full lifecycle of every major DDLS resource.
| Event Name | Trigger | Description |
|---|---|---|
| customer.created | Customer record created via API | Fired when a new customer is created |
| customer.updated | Customer record updated via API | Fired when an existing customer is modified |
| license.created | License record created via API | Fired when a new license is created |
| license.expired | License has passed its expiry date | Fired when the system detects a license has expired |
| license.activated | Activation record created | Fired when a license is activated on a site or device |
| license.deactivated | Activation record deactivated | Fired when a license activation is removed |
| subscription.created | Subscription record created via API | Fired when a new subscription is created |
| subscription.renewed | Subscription renewed | Fired when a subscription is renewed |
| subscription.canceled | Subscription canceled | Fired when a subscription is canceled |
| subscription.expired | Subscription has expired | Fired when a subscription has expired |
| download.completed | Download token served | Fired when a download is successfully served to a customer |
Note: All 11 events are triggered by WordPress action hooks using the prefix dmsi_aapi_*. The hooks map directly to the event names:
| WordPress Action Hook | Webhook Event |
|---|---|
| dmsi_aapi_customer_created | customer.created |
| dmsi_aapi_customer_updated | customer.updated |
| dmsi_aapi_license_created | license.created |
| dmsi_aapi_license_expired | license.expired |
| dmsi_aapi_activation_created | license.activated |
| dmsi_aapi_activation_deactivated | license.deactivated |
| dmsi_aapi_subscription_created | subscription.created |
| dmsi_aapi_subscription_renewed | subscription.renewed |
| dmsi_aapi_subscription_canceled | subscription.canceled |
| dmsi_aapi_subscription_expired | subscription.expired |
| dmsi_aapi_download_served | download.completed |
