PUT Update Messaging Campaign​
Update a campaign's title, message_content and (when non-empty) settings. Both title and message_content are required on every call. settings replaces the stored object wholesale, so send the complete settings, including template_id / template_variables for WhatsApp. Other fields (channel, sender_number, scheduled_at, status) are ignored. next_step is stored as the wizard step to reopen at. Does not check the campaign status. Fires fluent_crm/whatsapp_campaign_updated or fluent_crm/sms_campaign_updated.
Channel: this route does not take a channel; the channel is the one stored on the campaign (sms or whatsapp) and the matching channel hooks are fired. 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​
Path Parameters
Campaign id.
Request Body​
Responses​
Campaign updated.