Skip to main content
Dub

Event types

List of supported postback event types and their payloads
1 min read

Postbacks send real-time notifications when events happen in your Dub partner account. All postback payloads follow this structure:

postback-payload.json
  • id – Unique event ID
  • event – Event type (e.g. lead.created)
  • createdAt – ISO 8601 timestamp when the event was created
  • data – Event-specific payload

Postback events#

Postbacks only fire for events tied to your referral links. Here are the postback events that are available:

Event TypeDescription
lead.createdOccurs when a new lead is tracked via your referral link.
sale.createdOccurs when a new sale is tracked via your referral link.
commission.createdOccurs when a new commission is generated for you — from a tracked conversion or created manually by the program.