Skip to main content
Dub

partner.enrolled

2 min read

Occurs whenever a partner is enrolled in your program (either their application was approved, they accepted your invite, or via the API).

Response body parameters

All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.

idstring#
The event ID.
eventstring#
The event type that triggered the webhook (e.g., partner.enrolled).
createdAtstring#
ISO 8601 timestamp when the webhook event was created.
dataobject#
Event-specific data containing detailed information about the event. The data object for the partner.enrolled event contains the following parameters:
Show object parameters
idstring#

Unique identifier for the partner.

namestring#

Partner name.

usernamestring | null#

Partner username.

emailstring#

Partner email address.

imagestring | null#

URL to the partner's profile image.

descriptionstring | null#

Partner bio or description.

countrystring#

Country code (e.g. US).

companyNamestring | null#

Partner company name, if provided.

tenantIdstring | null#

Your external system's identifier for this partner.

programIdstring#

ID of the partner program.

partnerIdstring#

Partner ID (same as id).

groupIdstring | null#

Partner group ID.

statusstring#

Partner status (e.g. approved).

payoutsEnabledAtstring | null#

ISO 8601 timestamp when payouts were enabled for this partner.

createdAtstring#

ISO 8601 timestamp when the partner was enrolled.

totalClicksnumber#

Total clicks across the partner's links.

totalLeadsnumber#

Total leads attributed to the partner.

totalConversionsnumber#

Total conversions attributed to the partner.

totalSalesnumber#

Total sales attributed to the partner.

totalSaleAmountnumber#

Total sale amount in cents.

totalCommissionsnumber#

Total commissions in cents.

websitestring | null#

Partner website URL.