A developer-first affiliate platform
Everything in the dashboard is available through a documented REST API, webhooks, and SDKs — so you can build custom tracking, embed branded portals, and automate payouts on your own stack.
# Track a conversion from your server
curl -X POST https://api.afflyin.com/v1/conversions \
-H "Authorization: Bearer $AFFLYIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"click_id": "clk_8f2a3b",
"order_id": "ORD-10294",
"amount": 149.00,
"currency": "USD"
}'
# Response
{ "id": "cnv_5d1c", "status": "approved", "commission": 29.80 }The full platform, programmable
From server-to-server tracking to embeddable portals, the API gives your team complete control over the partner experience.
REST API
A clean, documented REST API to manage partners, links, commissions, conversions, and payouts programmatically.
Webhooks
Subscribe to clicks, conversions, approvals, and payouts to drive workflows in the rest of your stack in real time.
Server-to-server tracking
Record conversions from your backend for accuracy that survives ad blockers, ITP, and cookie loss.
SDKs
Language SDKs and typed clients handle auth, retries, and pagination so you ship integrations faster.
Embeddable portals
Drop a white-labeled partner dashboard into your own app with embeddable components and APIs.
Sandbox environment
Build and test against a full sandbox with test keys before you flip a single switch in production.
Frequently asked questions
- Does Afflyin have a REST API?
- Yes. Afflyin exposes a documented REST API that lets you manage partners, links, commissions, conversions, and payouts programmatically — everything you can do in the dashboard, you can do via the API.
- Do you support webhooks?
- Yes. You can subscribe to events such as clicks, conversions, approvals, and payouts and receive real-time webhook callbacks to trigger workflows in your own systems.
- Can I track conversions server-side?
- Yes. Server-to-server conversion tracking lets you record events from your backend, keeping attribution accurate even when cookies are blocked or lost.
- Is there an SDK?
- Afflyin provides language SDKs and typed clients that handle authentication, retries, and pagination so you can build integrations quickly.
- Is there a sandbox for testing?
- Yes. A full sandbox environment with test API keys lets you build and validate your integration before going live in production.
- Is the API documented?
- Yes. Complete API reference docs, guides, and examples are available so your developers can integrate without guesswork.