Skip to main content
WEBHOOK
The vl.earning_rule.created event indicates that a Loyalty v2 earning rule was created.
This page documents only the event data nested under data. See Introduction to webhooks for the shared webhook structure, and Workflows webhooks for the full Workflows webhook payload.
This event can trigger a workflow when Loyalty activity is configured with the Earning rules group and the vl.earning_rule.created activity type. If the workflow reaches a Webhook callout action, Voucherify sends a webhook to the action’s target URL. The example shows the content of data. It contains snapshots recorded with the activity. It is not wrapped in an activity property.

Body

application/json

Event data object schema for vl.earning_rule.created.

earning_rule
object
required

Earning rule as returned by the API.

Response

Webhook accepted

Last modified on September 25, 2026