Skip to main content
WEBHOOK
EVENTS.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
  }
}
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.
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.enabled.

campaign
object

Object representing a campaign.

Response

Webhook accepted

I