Campaign Leads
Remove Campaign Lead
Remove a single lead from a campaign queue before, during, or after dialling, preserving any call records that already exist.
DELETE
Remove a campaign lead
Removes a single lead from a campaign queue. If the lead has not been called yet, it is skipped entirely and never dialled. If a call is currently in progress, that call is allowed to complete and its log is preserved. If the lead has already been called, the lead record is removed from the queue but the call log it produced remains queryable through List Call Logs.
When to use this
Per-lead removal is the right tool for honoring opt-outs and cleaning up bad data without touching the rest of the campaign. Common cases:- Contact requested removal: a customer asked to be removed from outreach. Removing the lead before its turn comes up prevents the call.
- Data quality fix: the lead was uploaded with an incorrect phone number or wrong consent state. Remove it, correct the source, and re-add the corrected record.
- Compliance review: the lead needs to be pulled out while you investigate a complaint, but you want to keep the existing call log intact for audit.
Behavior
- Calls already in progress are not interrupted.
- Call logs produced by previous attempts on this lead remain available.
- The lead’s queue position is freed; subsequent leads do not shift their scheduled times.
Path parameters
| Parameter | Description |
|---|---|
id | The campaign-lead ID, for example cmp_5tw8vz2rnx1q. |
Errors
404 Not Foundis returned when the campaign-lead does not exist or has already been removed.409 Conflictis returned when the campaign is in a terminal state (completed or cancelled) and per-lead removal is no longer meaningful.
Request
Response
Related endpoints
- Get Campaign Lead: inspect a lead before removing it.
- Upload Campaign Leads: bulk-add corrected leads.
- List Call Logs: review the calls produced before the lead was removed.
Remove a campaign lead