GET Top Campaigns​
Best-performing sent campaigns, ranked by open rate, click rate, or volume.
Only rows where all of the following hold are counted: campaign status archived, campaign type campaign, and email status sent. Recurring campaigns, sequence emails, and automation emails are therefore excluded by design.
open_rate and click_rate are percentages computed in SQL and come back as strings with full decimal precision (for example "84.7134"), as does total_sent. Round them client-side.
An unrecognised sort_by silently falls back to open_rate rather than erroring.
Required capability: fcrm_manage_settings
Enforced by SettingsPolicy::verifyRequest(), the policy default for this route group.
Requires: FluentCampaign Pro. Without it the route does not exist.
Authorizations​
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Parameters​
Query Parameters
Ranking metric. Unrecognised values fall back to open_rate.
"open_rate""click_rate""total_sent""open_rate"Maximum number of campaigns to return.
10Responses​
Ranked campaigns.