GET List Messaging Campaigns
Paginated list of campaigns of type = campaign, newest first by default. Unlike most messaging routes, channel here is a filter: omit it to list campaigns of every channel, pass sms or whatsapp to narrow. Any other value is used as-is as a filter and matches nothing. With with[]=stats each row also carries next_step and its labels. PRO — requires the FluentCampaign Pro Messaging module with at least one channel (SMS or WhatsApp) active.
Required capability: fcrm_read_emails or fcrm_manage_emails — which one applies depends on the action being performed.
Enforced by MessagePolicy::verifyRequest(), the policy default for this route group.
Requires: FluentCampaign Pro with the Messaging module enabled. While no messaging channel (SMS or WhatsApp) is switched on the route is not registered at all and returns a 404.
Authorizations
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Parameters
Query Parameters
Substring match on the campaign title.
Only campaigns in these statuses (e.g. statuses[]=draft&statuses[]=working).
Filter by channel: sms or whatsapp. Omit for all channels.
"sms""whatsapp"Only campaigns carrying any of these label (term) ids.
Extra data to load. stats adds next_step and labels to every row.
"stats"Column to sort by: id, parent_id, type, title, slug, status, message_content, sender_number, recipients_count, sent_count, failed_count, delay, scheduled_at, settings, channel, created_by, created_at, updated_at. Unknown values fall back to id.
"id"Sort direction. Anything other than ASC is treated as DESC.
"ASC""DESC""DESC"Page number to return.
1Rows per page.
15Responses
Paginated campaigns.