Skip to main content
POST
EVENTS.CUSTOMER.PUBLICATION.SUCCEEDED
The EVENTS.CUSTOMER.PUBLICATION.SUCCEEDED event indicates that a voucher code was successfully published to a customer. This event serves as a real-time notification mechanism and it can notify other systems or applications that a voucher was assigned. As a result, the systems can react by, for example, sending a notification about an assignment to a customer. This event is used in a webhook configured in Distributions 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 `customer.publication.succeeded

customer
Simple Customer · object
required

Simplified customer data.

campaign
Simple Campaign · object
required

Simplified campaign data.

publication
Publications with Voucher · object
required

Publication with a voucher.

voucher
Simple Voucher · object
required

Simplified voucher data.

Response

Webhook accepted