Skip to main content
Event triggered when a new commission is created.
When enabled, this webhook is triggered when a commission is created either from a tracked conversion or manually in the dashboard.Use the userId field to distinguish between manual commissions from automatic ones.

Response body parameters

All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
id
string
The event ID.
event
string
The event type that triggered the webhook (e.g., commission.created).
createdAt
string
ISO 8601 timestamp when the webhook event was created.
data
object
Event-specific data containing detailed information about the event. The data object for the commission.created event contains the following parameters:
{
  "id": "evt_64dv6vxYVgltzJBKc9ujJ1ghL",
  "event": "commission.created",
  "createdAt": "2025-07-16T10:48:15.468Z",
  "data": {
    "id": "cm_1K09DJTBCRT24P6BRD515CK29",
    "type": "sale",
    "amount": 50000,
    "earnings": 10000,
    "currency": "usd",
    "status": "pending",
    "invoiceId": null,
    "description": null,
    "quantity": 1,
    "userId": "cludszk1h0000wmd2e0ea2b0p",
    "createdAt": "2025-07-16T10:48:14.722Z",
    "updatedAt": "2025-07-16T10:48:14.960Z",
    "partner": {
      "id": "pn_1K06X6FX2GRB31NCM2VVCGJ72",
      "name": "Matthew Hayden",
      "email": "matthew@example.com",
      "image": null,
      "payoutsEnabledAt": null,
      "country": "US",
      "groupId": "grp_1K6K3HD0QE7XTX5HSVR77AK5B",
      "totalClicks": 50,
      "totalLeads": 15,
      "totalConversions": 10,
      "totalSales": 10,
      "totalSaleAmount": 100000,
      "totalCommissions": 50000
    },
    "customer": {
      "id": "cus_1K09DJDEACR47NPYC93RM43WF",
      "externalId": "TaMD05AnuyqeI",
      "name": "David",
      "email": "david@example.com",
      "avatar": null,
      "country": "US",
      "sales": 1,
      "saleAmount": 50000,
      "createdAt": "2025-07-16T10:48:01.739Z"
    }
  }
}