Skip to main content
WEBHOOK
EVENTS.CAMPAIGN.LOYALTY_TIER.CREATED
{
  "campaign": {
    "id": "camp_il5QS3YhzAMyd45UNXT7euX7",
    "name": "Loyalty 2025",
    "campaign_type": "LOYALTY_PROGRAM",
    "type": "AUTO_UPDATE",
    "is_referral_code": false,
    "voucher": {
      "type": "LOYALTY_CARD",
      "discount": null,
      "gift": null,
      "loyalty_card": {
        "points": 0,
        "expiration_rules": {
          "period_type": "MONTH",
          "period_value": 1
        }
      },
      "redemption": {
        "quantity": null,
        "redeemed_quantity": 0
      },
      "code_config": {
        "pattern": "#",
        "length": 1,
        "charset": "0123456789",
        "prefix": "loyal-",
        "postfix": ""
      }
    },
    "auto_join": false,
    "join_once": true,
    "active": true,
    "category_id": null,
    "category": null,
    "metadata": {},
    "start_date": null,
    "expiration_date": null,
    "description": null,
    "created_at": "2023-10-16T09:54:56.394Z",
    "updated_at": "2024-01-22T13:37:57.586Z",
    "object": "campaign"
  },
  "loyalty_tier": {
    "id": "ltr_10445f698e4abcf607",
    "name": "Loyalty-tier-03",
    "campaign_id": "camp_il5QS3YhzAMyd45UNXT7euX7",
    "metadata": {},
    "created_at": "2025-03-12T13:32:01.465Z",
    "updated_at": null,
    "earning_rules": {
      "ern_6SR1DBtjFql71aXr71TaJfrq": {
        "type": "MULTIPLY",
        "multiplier": 1
      }
    },
    "rewards": {
      "rewa_mcn5Lp8texqmbgQbadLMqSoQ": {
        "type": "MULTIPLY",
        "multiplier": 1
      }
    },
    "config": {
      "points": {
        "from": 200,
        "to": 299
      }
    },
    "points": {
      "from": 200,
      "to": 299
    },
    "object": "loyalty_tier"
  }
}
The EVENTS.CAMPAIGN.LOYALTY_TIER.CREATED event indicates that a specific campaign loyalty tier was created. This serves as a real-time notification about this event. For example, this event is triggered when a loyalty tier is added to a loyalty campaign and the campaign is then saved. 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 a created loyalty tier.

campaign
object

Simplified campaign data.

loyalty_tier
object

Loyalty tier data.

Response

Webhook accepted

I