Skip to main content
POST
EVENTS.CAMPAIGN.VOUCHERS.GENERATION.COMPLETED
The EVENTS.CAMPAIGN.VOUCHERS.GENERATION.COMPLETED event indicates that voucher generation for a given campaign was completed. It includes details about the campaign for which voucher were generated, the number of generated vouchers, and the date when the process was completed. This event is used in a webhook configured in Project settings in Voucherify dashboard.
This page documents only the event. If you need more details about the webhook payload data that includes this event, go to Introduction to webhooks page.

Body

application/json

Event data object schema for campaign.vouchers.generation.completed.

campaign
Simple Campaign · object

Simplified campaign data.

count
integer

Number of generated vouchers.

completed_at
string<date-time>

Timestamp representing the date and time when the generation of the campaign vouchers was completed in the ISO 8601 format.

Example:

"2024-01-01T11:11:11.111Z"

Response

Webhook accepted