Skip to main content

POST /api/v1/public/campaigns/:id/lead-status/

Stop or resume outreach for leads of a campaign — the Stop outreach / Resume outreach actions of the campaign’s leads table.
  • action: "stop" sets each lead’s status to STOPPED. This stops all outreach to the person in every campaign, not only in this one: pending steps are cancelled and running sequences move to STOPPED.
  • action: "resume" sets each lead’s status back to ACTIVE (when it was a stopping status or empty) and restarts every sequence of the person that a stop ended, in every campaign. Cancelled steps are planned again without their delay; steps that already ran are never repeated. In a paused campaign the steps are planned when the campaign is resumed.
Pick the leads with prospect_ids, or with amount + filters + search to act on all leads matching what you see in the table. At most 1000 leads per call. Auth: X-API-Key

Path Parameters

  • id (integer, required): Campaign ID

Request Body

Selected leads:
All leads that match a filter and a search:

Request Body Parameters

Response

Each changed status is recorded in the lead’s status history with source API and sends the lead.status_changed webhook event.

Error Responses

Example

Notes

  • To change one lead’s status to something other than STOPPED / ACTIVE, use PATCH /public/prospects/:id/lead-status/.
  • Stopping a lead that is already STOPPED makes sure nothing of theirs is still running.