Campaign Customer Verified Event
Event ID
txt
campaigns.customer.rewards.granted
Event Description
The event triggers every time the customer gets a reward. Reward updating runs once per day after the stock market is closed.
Fields
Field | Description |
---|---|
event.id | Webhook event unique identifier |
event.type | Webhook event type |
data.customer | Customer information |
data.customer.email | Customer email |
data.customer.name | Customer name |
data.campaign | Information about campaign |
data.campaign.title | Campaign name |
data.campaign.status | Campaign status |
data.campaign.slug | Campaign identifier used to access campaign info in public API |
data.app | Information about the application |
data.app.uuid | Application unique identifier |
data.app.name | Application name |
data.rewards | Information about Customer Rewards |
data.rewards.*.campaign_id | Campaign unique identifier |
data.rewards.*.customer_id | Customer unique identifier |
data.rewards.*.campaign_benefit_id | Campaign Reward unique identifier |
data.rewards.*.campaign_benefit_title | Campaign Reward title |
data.rewards.*.acquired_at | Campaign Reward acquired date-time |
Example Payload
json
{
"event": {
"id": "e7fe07b8-ae6d-440d-a3db-b20f4a267ce6",
"type": "campaigns.customer.verified"
},
"data": {
"customer": {
"email": "customer@roundtable.xyz",
"name": "John Doe"
},
"campaign": {
"title": "Campaign title",
"status": "running",
"slug": "campaign-slug"
},
"app": {
"uuid": "81721046-5c8f-4b44-aeb8-dce0adb5c4e3",
"name": "App Name"
},
"rewards": [
{
"campaign_id": 200,
"customer_id": 1039,
"campaign_benefit_id": 483,
"campaign_benefit_title": "Reward title",
"acquired_at": "2023-01-10T10:00:00.00000Z"
}
]
}
}