Skip to content

LBA Lead & Coupon Events

When you run a campaign using a microsite (microsite) and coupons in the module Leads, the platform can send real-time webhook notifications whenever a customer submits a lead form, redeems a coupon, or updates their marketing consent status (consent).


Event Name (event)When It Is Sent
customer.capturedWhen a visitor fills in and submits a lead form on a campaign microsite.
coupon.redeemedWhen a customer’s coupon code is successfully validated or redeemed at the checkout / redemption page.
customer.consent_changedWhen a customer grants or revokes marketing communication consent (opt-in / opt-out) via the microsite page.

{
"event": "customer.captured",
"tenant_id": "0195f2a0-1234-7000-8000-000000000001",
"timestamp": "2026-11-04T13:20:00Z",
"data": {
"lead_id": "0195f2e0-4444-7000-8000-000000000077",
"campaign_id": "0195f2e1-5555-7000-8000-000000000088",
"microsite_id": "0195f2e2-6666-7000-8000-000000000099",
"phone": "+6281234567890",
"name": "Budi Santoso",
"email": "budi@example.com",
"coupon_code": "PROMO-8842",
"consent_marketing": true,
"custom_fields": {
"kota": "Jakarta Selatan"
}
}
}
FieldTypeDescription
eventstringEvent type (customer.captured, coupon.redeemed, or customer.consent_changed).
data.lead_idstring (UUID)ID of the lead record created or updated.
data.campaign_idstring (UUID) | nullID of the related LBA campaign or lead campaign.
data.microsite_idstring (UUID)ID of the microsite where the interaction took place.
data.phonestringCustomer’s phone number in E.164 format.
data.coupon_codestring | nullUnique coupon code issued or redeemed (specific to customer.captured and coupon.redeemed).
data.consent_marketingbooleanCustomer’s current marketing consent status.