post https://example.com/EVENTS.CAMPAIGN.ENABLED
EVENT: "EVENTS.CAMPAIGN.ENABLED"
HTTP method: POST
HTTP method: POST
The EVENTS.CAMPAIGN.ENABLED
event indicates that the campaign is now active and can be utilized for its intended purpose.
This event is used in a webhook configured in Project settings in Voucherify dashboard.
Webhook documentation
This page documents only the event. If you need more details about the webhook payload data that includes this event, go to Webhook v2024-01-01 page.
Example: campaign.enabled
{
"campaign": {
"id": "camp_s2tD4F3yQhGTKuXjKasSNeP6",
"name": "Promotion Spring 2024",
"type": "STATIC",
"active": true,
"object": "campaign",
"metadata": {
"region": "EMEA"
},
"auto_join": false,
"join_once": false,
"protected": false,
"categories": [],
"created_at": "2024-02-21T12:34:04.667Z",
"updated_at": "2024-02-21T15:09:57.706Z",
"category_id": "cat_0e156dab8f2e43873a",
"campaign_type": "PROMOTION",
"creation_status": "DONE",
"expiration_date": "2024-02-29T00:00:00.000Z",
"vouchers_generation_status": "DONE",
"use_voucher_metadata_schema": false
}
}