Background
⌘K

API Integration

Connect Affonso to your tools and automate your affiliate program

Silvestro
Written by Silvestro
Last updated on December 18, 2025

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

  1. Go to Connect → API in your dashboard
  2. Click Create Key
  3. Set a name, permissions, and expiration
  4. 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:

docs.affonso.io

Was this article helpful?

If you still need help, our support team is here for you.

Contact Support
bg

Ready to Scale Your SaaS?

Affonso is the easiest way to launch your own affiliate program. We take care of the technical stuff, so you can focus on growing your business.