> ## Documentation Index
> Fetch the complete documentation index at: https://dub.co/llms.txt
> Use this file to discover all available pages before exploring further.

# partner.enrolled

Occurs whenever a [partner is enrolled](/docs/api-reference/partners/create) 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.

**id** `string`

The event ID.
**event** `string`

The event type that triggered the webhook (e.g., `partner.enrolled`).
**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 `partner.enrolled` event contains the following
parameters:

**object parameters**

**id** `string`

Unique identifier for the partner.

**name** `string`

Partner name.

**username** `string | null`

Partner username.

**email** `string | null`

Partner email address.

**image** `string | null`

URL to the partner's profile image.

**description** `string | null`

Partner bio or description.

**country** `string | null`

Country code (e.g. `US`).

**companyName** `string | null`

Partner company name, if provided.

**tenantId** `string | null`

Your external system's identifier for this partner.

**programId** `string`

ID of the partner program.

**partnerId** `string`

Partner ID (same as `id`).

**groupId** `string | null`

Partner group ID.

**status** `string`

Partner status (e.g. `approved`).

**payoutsEnabledAt** `string | null`

ISO 8601 timestamp when payouts were enabled for this partner.

**createdAt** `string`

ISO 8601 timestamp when the partner was enrolled.

**totalClicks** `number`

Total clicks across the partner's links.

**totalLeads** `number`

Total leads attributed to the partner.

**totalConversions** `number`

Total conversions attributed to the partner.

**totalSales** `number`

Total sales attributed to the partner.

**totalSaleAmount** `number`

Total sale amount in cents.

**totalCommissions** `number`

Total commissions in cents.

**website** `string | null`

Partner website URL.

**links** `array`

Array of the partner's referral links.

**link object**

**id** `string`

Link ID.

**domain** `string`

Short link domain.

**key** `string`

Short link path/slug.

**shortLink** `string`

Full short link URL.

**url** `string`

Destination URL.

**clicks** `number`

Click count for this link.

**leads** `number`

Lead count for this link.

**conversions** `number`

Conversion count for this link.

**sales** `number`

Sale count for this link.

**saleAmount** `number`

Sale amount in cents for this link.

```json Response theme={null}
{
  "id": "evt_ovabfqva8oqZzmLPN1JnwIfdt",
  "event": "partner.enrolled",
  "createdAt": "2025-04-08T17:11:56.492Z",
  "data": {
    "id": "pn_1JRB6678XHGBZE95R5PH5QVGS",
    "name": "Asleep Pink Mammal",
    "username": null,
    "email": "chosen.blush.barracuda@dub-internal-test.com",
    "image": "https://api.dub.co/og/avatar?seed=Asleep Pink Mammal",
    "country": "US",
    "companyName": null,
    "description": null,
    "networkStatus": "draft",
    "tenantId": null,
    "programId": "prog_CYCu7IMAapjkRpTnr8F1azjN",
    "partnerId": "pn_1JRB6678XHGBZE95R5PH5QVGS",
    "groupId": null,
    "status": "approved",
    "defaultPayoutMethod": null,
    "paypalEmail": null,
    "stripeConnectId": null,
    "payoutsEnabledAt": null,
    "identityVerifiedAt": null,
    "trustedAt": null,
    "createdAt": "2025-04-08T17:11:56.446Z",
    "applicationId": null,
    "website": "https://example.com",
    "youtube": null,
    "twitter": null,
    "linkedin": null,
    "instagram": null,
    "tiktok": null,
    "totalCommissions": 0,
    "clickRewardId": null,
    "leadRewardId": null,
    "saleRewardId": null,
    "referralRewardId": null,
    "discountId": null,
    "bannedAt": null,
    "bannedReason": null,
    "totalClicks": 0,
    "totalLeads": 0,
    "totalConversions": 0,
    "totalSales": 0,
    "totalSaleAmount": 0,
    "netRevenue": 0,
    "earningsPerClick": null,
    "averageLifetimeValue": null,
    "clickToLeadRate": null,
    "clickToConversionRate": null,
    "leadToConversionRate": null,
    "returnOnAdSpend": null,
    "links": [
      {
        "id": "link_1JRB6677YXQB49RC1HKH7TPJE",
        "domain": "getacme.link",
        "key": "uvYO5pMIpctKdUVJlL3jIL4o",
        "shortLink": "https://getacme.link/uvYO5pMIpctKdUVJlL3jIL4o",
        "url": "https://acme.com",
        "clicks": 0,
        "leads": 0,
        "conversions": 0,
        "sales": 0,
        "saleAmount": 0
      }
    ]
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.