Skip to main content

Lead Status API

Every person in Seleqt has one lead status, shared by all of their rows in the workspace: the contact in a lead list and every campaign they are in. A status set on any of those rows applies everywhere. The status is set:
  • by Seleqt itself — a sequence starts (ACTIVE), a reply comes in and is classified, an email bounces, the lead unsubscribes, a meeting is booked. These automatic changes only move a lead forward (a later reply never undoes MEETING_BOOKED) and never move a lead out of STOPPED;
  • by a person in the app, or through this API (any status, in any direction);
  • by a Google Sheet sync or a CRM field mapped to Status.

Available Endpoints

Statuses

A lead that was never contacted has no status (null).

Stopping and resuming outreach

  • A status in the workspace’s stop rule stops all outreach to the person: every pending step of the person in every campaign is cancelled, and running sequences move to STOPPED. STOPPED is always in the stop rule; Admins can add other statuses under Settings in the app. Seleqt also checks the status again right before each send, so nothing goes out between a status change and the cancel.
  • Changing the status back (for example from STOPPED to ACTIVE) does not restart anything. The stopped sequences stay stopped until outreach is resumed — with resume: true on PATCH /public/prospects/:id/lead-status/, or action: "resume" on the campaign / lead list endpoints.
  • Resuming sets the status back to ACTIVE (when it is a stopping status or empty) and every sequence a stop ended picks up where it stopped: the 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.

The lead_status field on leads

Lead objects returned by GET /public/lead-lists/:id/leads/ and POST /public/campaigns/:id/export/ include lead_status (one of the values above, or null). Leads from before the lead status existed have no stored status until something happens to them. For these, lead endpoints (lead list leads, campaign export) and GET /public/prospects/:id/lead-status/events/ return the status their campaigns add up to, with lead_status_derived: true.

Source of a change

Every change is recorded with its source: SELEQT (automatic), MANUAL (a person in the app), SHEET (a Google Sheet sync), CRM (a CRM sync) or API. Changes made with an API key or through the MCP connector are recorded as API. Subscribe to the lead.status_changed webhook event to be notified of every change.

GET /api/v1/public/lead-status/

Returns the lead statuses and the statuses that stop outreach in your current workspace. Auth: X-API-Key

Response

The stop rule is changed by Admins in the app; it can’t be changed through the public API.

Example