Skip to main content
WEBHOOK
The vl.card_definition.assigned event indicates that a Loyalty v2 card definition was assigned to a program.
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 Card definitions group and the vl.card_definition.assigned 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. This operation also creates a separate vl.program.card_definition.assigned activity. Use the Program card definition assigned event to handle that event type.

Body

application/json

Event data object schema for vl.card_definition.assigned.

program
Loyalty Program · object
required

Loyalty v2 program snapshot recorded with the activity.

card_definition
object
required

A card definition.

program_card_definition
Loyalty Program Card Definition Assignment · object
required

Assignment of a card definition to a Loyalty v2 program.

Response

Webhook accepted

Last modified on September 25, 2026