> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Program card definition assigned

> Event data sent for a Loyalty v2 vl.program.card_definition.assigned activity handled by Workflows

The `vl.program.card_definition.assigned` event indicates that a card definition was assigned to a Loyalty v2 program.

<Note>
  This page documents only the event data nested under `data`. See [Introduction to webhooks](/api-reference/introduction-to-webhooks) for the shared webhook structure, and [Workflows webhooks](/api-reference/workflows-webhooks) for the full Workflows webhook payload.
</Note>

This event can trigger a workflow when **Loyalty activity** is configured with the **Programs** group and the `vl.program.card_definition.assigned` activity type. If the workflow reaches a **Webhook callout** action, Voucherify sends a webhook to the action's target URL.

Workflows send this activity in the `data.trigger` object.

This operation also creates a separate `vl.card_definition.assigned` activity. Use the [Card definition assigned event](/api-reference/loyalty-activity/card-definitions/assigned) to handle that event type.


## OpenAPI

````yaml openapi-events/events-loyalty-activity.json webhook vl.program.card_definition.assigned
openapi: 3.1.0
info:
  title: Events - Events loyalty activity
  version: '2024-01-01'
  description: ''
servers: []
security: []
paths: {}

````