Affiliate API, Webhooks & AI for WooCommerce
Connect your affiliate program to your other tools.
Pull your data into other apps with the affiliate REST API, send events the moment they happen with webhooks, or connect AI apps like Claude, ChatGPT and Cursor and ask about your program in plain English.
Free
For developers & AI
Your data, wherever you need it
Your affiliate data doesn’t have to stay inside WordPress. Each feature is off until you switch it on, from the API, Webhooks & AI page in your admin.
Every request uses the same permission checks, so an app never sees more than the user it signs in as.
Free
Pull your data
The affiliate REST API
Connect an external dashboard, sync with another system, or build your own automation. The REST API gives you affiliates, coupons, stats, clicks, reports, registrations and an activity feed.
Create API keys with read, write or manage permissions, and an optional expiry. A key acts as its user, so an affiliate’s key only sees their own data.
- API keys or WordPress application passwords
- Switch individual endpoints on or off
- Payout endpoints (Pro)
- OpenAPI description for easy integration

Pro
Real-time events
Webhooks
Rather than polling the API, have your store tell another service the moment something happens, like a new referral, an accepted registration or a paid payout.
Every delivery is signed with HMAC-SHA256, so your endpoint can check it really came from your store. Failed deliveries are retried automatically.
- Events for referrals, commission, registrations, payouts, rewards and more
- Send a test delivery from your admin
- Free alternative: poll the events endpoint
# Your endpoint receives a signed request POST https://your-app.example/webhooks X-WCUsage-Signature: t=1759480000,v1=5f2c… # Some of the events you can subscribe to referral.created commission.added registration.accepted payout.requested payout.paid reward.earned
Free
Ask in plain English
AI & MCP
Connect Claude, ChatGPT, Cursor and other AI apps to your affiliate program with MCP, then just ask. “Who were my top affiliates last month?” “Are there any registrations waiting?”
Answers come from your real data, through 19 built-in abilities, plus payout abilities with Pro.
- Read-only and admin-only by default
- Switch each ability on or off
- Optionally let affiliates connect their own AI app
- Rate limits and a log of recent AI activity

Free
From questions to actions
Let AI take care of the admin
If you allow it, AI apps can do more than answer questions. They can create affiliates, assign coupons, and approve or decline registrations, and with Pro, request payouts and update payout status.
Any action that changes data asks you to confirm first, and payout actions are marked as high impact.
list-registrations✓ Found 2 pending registrationsApprove Sophie Reed and decline xk92dealz?
This changes data, so I’ll wait for you to confirm.update-registration-status · 1 approved, 1 declinedFree
Quick to set up
Connect in a few minutes
The AI & MCP tab checks everything you need, and gives you a ready-to-copy configuration for Claude Desktop, Claude Code and Cursor.
For claude.ai and ChatGPT, connect through an MCP connector plugin that handles the sign-in. You’ll need WordPress 6.9 or later.

Questions
Frequently asked questions
Is the REST API in the free version?
Yes. Payout endpoints and webhooks need Pro. API and webhooks guide
How do I authenticate with the API?
Use an API key with read, write or manage permissions, or a WordPress application password. API keys need HTTPS. API documentation
How do I check a webhook came from my store?
Every delivery is signed with HMAC-SHA256, so your endpoint can verify it. Webhooks guide
Can AI apps change my data?
Not by default. AI is read-only until you allow actions that change data, and each action asks you to confirm first. AI & MCP guide
Can I use it with claude.ai or ChatGPT?
Yes, through an MCP connector plugin with its own sign-in, such as Easy MCP AI. AI & MCP guide
Ready to launch your affiliate program?
Try Coupon Affiliates Pro free for 7 days, or get started with the free version on WordPress.org.