Skip to content
On this page

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 ​

FieldDescription
event.idWebhook event unique identifier
event.typeWebhook event type
data.customerCustomer information
data.customer.emailCustomer email
data.customer.nameCustomer name
data.campaignInformation about campaign
data.campaign.titleCampaign name
data.campaign.statusCampaign status
data.campaign.slugCampaign identifier used to access campaign info in public API
data.appInformation about the application
data.app.uuidApplication unique identifier
data.app.nameApplication name
data.rewardsInformation about Customer Rewards
data.rewards.*.campaign_idCampaign unique identifier
data.rewards.*.customer_idCustomer unique identifier
data.rewards.*.campaign_benefit_idCampaign Reward unique identifier
data.rewards.*.campaign_benefit_titleCampaign Reward title
data.rewards.*.acquired_atCampaign 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"
      }
    ]
  }
}