Skip to content
DeveloperLive today

Afflio webhooks & API — server-to-server tracking and outbound events

Afflio's API and webhooks are live and the most reliable way to integrate. Fire signups and purchases from your backend with an idempotency key, and subscribe to Afflio's outbound events to sync commissions, partners, and payouts into your own systems.

How it works

How Webhooks & API works with Afflio

  1. Send conversion events

    POST to /track/signup and /track/purchase from your backend with an idempotency key. Attribution resolves from the click cookie or promo code — no browser dependency.

  2. Stay idempotent

    Every event carries an idempotency key, so retries, duplicate fires, and webhook replays are recorded once and never inflate a partner's earnings.

  3. Subscribe to outbound webhooks

    Register outbound webhook subscriptions to receive Afflio events — commission created, payout sent, and more — so your CRM, data warehouse, or finance tools stay in sync.

FAQ

Webhooks & API integration questions

Are the API and webhooks live today?+

Yes. Server-to-server conversion tracking and outbound webhook subscriptions are both shipped in Afflio.

Does server-side tracking work without cookies?+

Yes. Sending events from your backend means attribution doesn't rely on third-party cookies and survives ad-blockers and Safari ITP.

What events can I subscribe to?+

Afflio supports outbound webhook subscriptions so you can receive events such as commission created and payout sent in your own systems.

How do I avoid double-counting on retries?+

Attach an idempotency key to every event; Afflio records each one only once even across retries and duplicate deliveries.

More integrations

Google Analytics (GA4)

Keep Afflio and GA4 in sync today by sending conversions to both — a deeper native GA4 connector is on the roadmap.

Segment

A native Segment source/destination is on the roadmap — route conversion events to Afflio today via its API.

RazorpayX

Disburse partner payouts to Indian bank accounts and UPI directly from your approvals queue.

PayPal

Pay international affiliates via PayPal, and ingest PayPal purchase webhooks for attribution.

Razorpay

Ingest Razorpay payment webhooks so purchases attribute to the right partner automatically.

Stripe

Ingest Stripe payment webhooks so subscriptions and one-off purchases attribute to partners.

PhonePe

Ingest PhonePe payment webhooks so Indian purchases attribute to the right partner automatically.

Paytm

Ingest Paytm payment webhooks so Indian purchases attribute to the right partner automatically.

Shopify

A native Shopify app is on the roadmap — track Shopify sales today via server-side events.

WooCommerce

A WooCommerce plugin is on the roadmap — track WooCommerce sales today via the API.

Zapier

A Zapier app is on the roadmap — automate against Afflio today using outbound webhooks.

BigCommerce

A native BigCommerce app is on the roadmap — track BigCommerce sales today via server-side events.

Wix

A native Wix app is on the roadmap — track Wix Stores sales today via server-side events.

Squarespace

A native Squarespace app is on the roadmap — track Squarespace Commerce sales today via the API.

Magento (Adobe Commerce)

A native Magento (Adobe Commerce) extension is on the roadmap — track Magento sales today via the API.

Slack

A native Slack app is on the roadmap — get conversion and payout alerts in Slack today via outbound webhooks.

Make (Integromat)

A native Make app is on the roadmap — automate against Afflio today using its outbound webhooks and API.

Start running your creator program

Free to join. Pay partners and attribute every sale from one dashboard.

Find brands to promote