Pause a Campaign
li_pause_campaignStop a campaign sending, reversibly. No further invites go out from it, and an invite job already queued for it stops rather than passing the baton to the next person — so a drip that is running is genuinely held, not merely slowed. Reach for this the moment prospects are in a campaign you did not mean, instead of stopping people one at a time. The reply says HOW MANY it held, because a pause that reports only success reads the same whether it caught a hundred people or nobody. Two things it does NOT do: a message step already scheduled still sends (hold those with li_cancel_steps, which leaves the sequence alive — NOT li_mark_stopped, which hands the contact off permanently), and acceptance polling stops for this campaign, so somebody who accepts while it is paused is not noticed until it resumes. Reverse it with li_resume_campaign.
MANY AT ONCE: campaignIds (up to 100) or namePrefix (+ sessionLabel for one account) instead of campaignId. Without confirm:true it only lists what matched, with counts; confirmed, each campaign is paused with its own ownership check and result line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Bulk forms only: true to act. Without it the call lists what matched. | |
| sessionId | No | With namePrefix only: match on this account only | |
| campaignId | No | One campaign id from li_list_campaigns. Or campaignIds / namePrefix. | |
| namePrefix | No | Bulk: every campaign you can see whose name starts with this (case-insensitive, the same match as li_list_campaigns), at most 100; listed before anything is paused | |
| campaignIds | No | Bulk: up to 100 campaign ids, each paused as the single form would be | |
| sessionLabel | No | With namePrefix only: match on this account only |