A public API and webhooks for your affiliate program
Read your affiliates, referrals, commissions and payouts programmatically, and receive signed webhooks when affiliates enroll and convert. Exclusively on the Portfolio plan.
Why we built it: founders running larger programs wanted to plug PartnerDock into their own stack, syncing affiliate data into lifecycle tools and triggering automated emails off real affiliate activity.
You can now access your program over a REST API. Four read endpoints return your affiliates (with enrollment status, the programs they are in, referral counts, lifetime commission, outstanding balance, and last conversion date), your referred stores and their revenue, your commission line items, and your payouts. Everything is scoped to your organization, paginated, and supports an incremental 'since' filter so you can keep an external system in sync without refetching everything.
On top of that, you can register webhook endpoints that receive an event the moment something important happens: a new affiliate is approved, an affiliate drives their first referral, and a store converts to paying. Each conversion event is flagged as first-or-not, so you can trigger a one-time welcome or first-commission email and still keep every event for later milestone and re-engagement campaigns. Every delivery is signed so you can verify it genuinely came from PartnerDock.
Typical uses: keep affiliate profiles and balances current in a tool like Customer.io, trigger onboarding and lifecycle emails off real activity instead of guesswork, or feed your own internal dashboards. You create and manage your API keys and webhook endpoints yourself under Settings, API, and the full reference lives in our docs.
The API and webhooks are exclusively available on the Portfolio plan.
