Bulk Remove Campaign Leads
Remove many leads from a campaign that is not active.
POST
https://api.foxreach.io/ api/ v1/ campaigns/{campaign_id}/ leads/ bulk-removeRequires an API key with the write scope.
Removes up to 5,000 leads from the campaign in one call and cancels their pending sends. The leads stay in your lead list. Ids that are not in the campaign are ignored. The campaign must not be active: pause it first. The request runs inside the call; send larger lists in batches.
Path Parameters#
campaign_idstringpathrequiredThe campaign.
Request Body#
leadIdsstring[]bodyrequired1 to 5,000 lead ids.
Response#
dataobjectShow Result
removedintegerHow many leads were in the campaign and are now removed.
Errors#
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: write |
400 | The campaign is active |
404 | Campaign not found in this workspace |
422 | Empty list or more than 5,000 ids |
Rate Limit#
- 100 requests per minute, shared by every
bulkcall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(bulk). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
For client-side patterns (Retry-After, exponential backoff, monitoring X-RateLimit-Remaining), see Rate Limiting.
Was this page helpful?
View as MarkdownLast updated November 4, 2026