This page documents the canonical HTTP contract for this endpoint.
The route accepts either a top-level ID array or shared bulk selection fields: lead_ids/selection, scope, source_table_id, source_table_scope, process_limit (1–10,000), and skip_previously_attempted. It applies local exit effects within the authenticated organization and durably admits provider pause work; response counts do not prove that the external provider pause has completed. leadStatus defaults to nurture and must be a valid Lead status; sequenceIds and bouncedEmails restrict/apply sequence effects. unqualifiedReason is recorded only for unqualified status. Set dryRun true to preview matched effects without applying them (default false). A selection matching no leads returns 404.
Body parameters
lead_ids· optionalarray<string>
Explicit Lead IDs; use this or selection.
selection· optionalobject
BulkSelectionModel: {mode: "ids", ids: [...]} or {mode: "descriptor", descriptor: {root: <FilterNode>}}. Descriptor root is a rule or group with kind, field/operator/value or logic/children.
scope· optionalstring
Lead scope.
source_table_id· optionalstring
Research table context.
source_table_scope· optionalstring
Research table scope.
process_limit· optionalinteger
Optional cap, 1-10,000.
sequenceIds· optionalarray<string>
Optional sequence IDs to exit.
leadStatus· optionalstring
Optional lead status to apply.
unqualifiedReason· optionalstring
Optional unqualified reason.
bouncedEmails· optionalarray<string>
Optional bounced email addresses.
dryRun· optionalboolean
Preview effects without applying them; default false.
skip_previously_attempted· optionalboolean
Accepted by the shared request adapter; not used by sequence exit.
| Name | Type | Description |
|---|---|---|
| lead_ids | array<string> | Explicit Lead IDs; use this or selection. |
| selection | object | BulkSelectionModel: {mode: "ids", ids: [...]} or {mode: "descriptor", descriptor: {root: <FilterNode>}}. Descriptor root is a rule or group with kind, field/operator/value or logic/children. |
| scope | string | Lead scope. |
| source_table_id | string | Research table context. |
| source_table_scope | string | Research table scope. |
| process_limit | integer | Optional cap, 1-10,000. |
| sequenceIds | array<string> | Optional sequence IDs to exit. |
| leadStatus | string | Optional lead status to apply. |
| unqualifiedReason | string | Optional unqualified reason. |
| bouncedEmails | array<string> | Optional bounced email addresses. |
| dryRun | boolean | Preview effects without applying them; default false. |
| skip_previously_attempted | boolean | Accepted by the shared request adapter; not used by sequence exit. |
Errors
| Status | Meaning |
|---|---|
| 400 | Provide a valid lead selection. |
| 401 | Invalid API key or missing auth. |
| 403 | Missing leads:read, leads:write, sequences:read, or sequences:run scope. |
