API Integration
Want to integrate your affiliate program into your existing workflows? The Affonso API gives you full control – no manual back-and-forth.
What You Can Do
- Create, update, and retrieve affiliates
- Manage referrals and commissions
- Control payouts
- Pull data into your CRM, dashboard, or automation tool
Getting Started
- Go to Connect → API in your dashboard
- Click Create Key
- Set a name, permissions, and expiration
- Copy your key (it's only shown once!)
Include your key in every request:
Authorization: Bearer sk_live_your_key_here
Permissions
You control exactly what each key can do:
- Affiliates: read, write, delete
- Referrals: read, write, delete
- Commissions: read, write, delete
- Payouts: read, write, delete
Create separate keys for different use cases – one for your CRM, one for Zapier, one for your custom dashboard.
Connect Any Payment Provider
Native integrations support Stripe, Paddle, Polar.sh, Creem, and Dodo Payments. But what if you use a different provider?
With the API, you can track purchases and subscriptions from any payment system. Send conversion data to Affonso when a sale happens – regardless of where the payment was processed.
Common Use Cases
- Connect any payment provider – track sales from Gumroad, LemonSqueezy, or your custom checkout
- Sync affiliates to your CRM when they sign up
- Build a custom reporting dashboard with real-time data
- Automate affiliate onboarding through your own systems
- Integrate with Zapier, Make, or n8n for no-code workflows
Full Documentation
For endpoints, request/response examples, and advanced usage:


