POST Bulk Action Recurring Campaigns​
POST
/recurring-campaigns/do-bulk-action
Perform a bulk action on multiple recurring campaigns. Supported actions are apply_labels (attach labels to campaigns) and delete_campaigns (delete campaigns and their child emails). The action applies only to the ids in campaign_ids; there is no "all recurring campaigns" mode. Requires FluentCampaign Pro.
Required capability: fcrm_manage_emails or fcrm_manage_email_delete — which one applies depends on the action being performed.
Enforced by SequencePolicy::handleRecurringBulkAction().
Requires: FluentCampaign Pro. Without it the route does not exist.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Request Body​
application/json
JSON
{
"action_name": "apply_labels",
"campaign_ids": [
5,
6
],
"labels": [
1,
3
]
}
Responses​
Bulk action completed successfully.
application/json
JSON
{
"message": "The labels have been applied."
}