ToolsCampaigns
mailmoo_campaign_update_settings
Rename a campaign or change how it picks leads
Renames a campaign, or changes how its sequence picks leads: preferNewLeads starts the newest leads first, and companyRelay tries a colleague at the same company when someone does not answer (enabled, maxPersonsPerCompany 2 to 10, and optionally only some seniority levels). Only what you pass changes. Campaign by name or id. A rename happens at once; settings are previewed without confirm (before and after), then applied with confirm: true. For the sending schedule use campaign_update_schedule; for senders, campaign_update_senders.
Effect: Write. See Effects.
Permissions: Read campaigns, Write campaigns.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
campaign | string | Yes | The campaign, by name or id. |
name | string | No | New name. |
preferNewLeads | boolean | No | |
companyRelay | object | No | |
confirm | boolean | No | Leave out first: the call then changes nothing and returns what would happen. Show that to the user, and call again with confirm: true once they agree. |

