Skip to main content
WEBHOOK
The vl.card.assigned event indicates that Voucherify automatically assigned a newly created Loyalty v2 card to a program member during enrollment.
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 Cards group and the vl.card.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. Voucherify also records a separate vl.member.card.assigned activity for the same assignment. Use the Member card assigned event to handle that event type. Because card code generation follows asynchronously, both assignment activity snapshots contain code: null.

Body

application/json

Event data object schema for vl.card.assigned.

card
Loyalty Card · object
required

Loyalty v2 card snapshot recorded with the activity.

member
Loyalty Program Member · object
required

Loyalty v2 program member snapshot recorded with the activity.

member_card
Loyalty Member Card · object
required

Member assignment to a Loyalty v2 card.

program
Loyalty Program · object
required

Loyalty v2 program snapshot recorded with the activity.

Response

Webhook accepted

Last modified on September 25, 2026