Skip to content

FluentAffiliate REST API

This reference covers 94 routes registered in the FluentAffiliate core and Pro route files.

Base URL

https://your-site.com/wp-json/fluent-affiliate/v2

Authentication

  • Admin and settings routes: use WordPress Application Passwords (username:application_password via Basic auth) or a WordPress nonce in the X-WP-Nonce header.
  • Portal routes: browser clients use cookie authentication with an X-WP-Nonce header; server-to-server integrations can use Application Passwords.
  • Method override: the FluentAffiliate frontend sends PUT, PATCH, and DELETE requests as POST requests with an X-HTTP-Method-Override header.

URL Structure

All routes share the single base path /wp-json/fluent-affiliate/v2. There is no separate Pro URL prefix — Pro modules (Groups, Creatives, Connected Sites, License) register their routes under the /settings/ segment alongside core settings routes.

Pro moduleURL prefix
Groups/settings/groups/…
Creatives/settings/creatives/…
Connected Sites/settings/connected-sites-config/…
License/settings/license

Modules

ModuleEditionRoute CountDescription
Affiliates APICore12Affiliate listing, creation, updates, deletion, and per-affiliate statistics and transactions.
Referrals APICore6Referral listing, manual creation, updates, deletion, and CSV export.
Payouts APICore11Payout batch management, transaction operations, payout processing, and CSV export.
Visits APICore2Affiliate visit tracking records — listing and CSV export.
Portal APICore6Affiliate portal data — stats, referrals, transactions, visits, and settings for the currently authenticated affiliate.
Reports APICore4Dashboard statistics, chart data, advanced commerce reports, and report provider listing.
Settings APICore31Email configuration, feature settings, integrations, referral config, page management, migrations, and registration fields.
Affiliate Groups APIPRO8Affiliate group CRUD operations, member listing, overview stats, and group statistics.
Creatives APIPRO6Creative asset management (admin) and portal creative retrieval for authenticated affiliates.
Connected Sites APIPRO5Connected site configuration management, token issuance, and site disconnect operations.
License APIPRO3Pro license status retrieval, activation, and deactivation.

FluentAffiliate developer documentation