Smartlead Does Not Dedupe Across Campaigns. I Tested It.
In short
Smartlead accepted a lead that already sat in another campaign, even with ignore_duplicate_leads_in_other_campaign: false, and its addLeads response (upload_count 1, already_added_to_campaign 1, existingLeadsInOtherCampaigns empty) looked like a block. The only reliable check is GET /campaigns/{id}/leads, not the response counters and not total_stats, which counts sent rows. Enforce dedup yourself with a unique normalised email, one attempt per push, and an unknown push outcome treated as contacted and alerted.

On this page
- Why did I need to test Smartlead's cross-campaign dedup at all?
- How do you test cross-campaign dedup without emailing anyone?
- What did Smartlead return when the duplicate went through?
- What do Smartlead's docs say the flag should do?
- How do you check whether a lead is really in a Smartlead campaign?
- Does "contacted" in your database mean the email was sent?
- How do you enforce dedup when Smartlead won't?
- What would I do differently?
Short answer: no, not on the account I tested. With ignore_duplicate_leads_in_other_campaign set to false, which Smartlead documents as the setting that keeps out leads already in other campaigns, I pushed a lead that already sat in one campaign into an empty second campaign, and Smartlead accepted it. The response counters looked like a block, and the one field built to report the clash, existingLeadsInOtherCampaigns, came back empty. The only check I trust now is the campaign's own lead list, GET /campaigns/{id}/leads. Dedup lives in my database instead: one row per normalised email, and a push with an unknown outcome is counted as contacted, never retried, and raised as an alert.
Why did I need to test Smartlead's cross-campaign dedup at all?
Because a footer change forced us to move new traffic to a second campaign, and that turned a harmless retry into a possible second cold email.
I work on an outbound engine that writes cold emails with an LLM and hands them to Smartlead to send. The GDPR footer on those emails lives in the Smartlead sequence template, per campaign, not on the lead. Changing the wording means re-saving the sequence, and we already knew what re-saving a live sequence does: it re-fired step 1 to leads already in the sequence, and one prospect got four identical first emails.
So the old campaign stayed untouched, still carrying about 634 leads mid-sequence with follow-ups queued. A new campaign was built from the same sequence builder with the new footer, and only new leads would go to it.
That opened a gap. Our send job stamped a contact as contacted only after addLeads returned. If the call timed out after Smartlead had already written the batch, the contact looked untouched to us, and the next cycle pushed it again. Before the cutover that retry went to the same campaign, and Smartlead's lead management guide ↗ says duplicates within the same campaign are always skipped. After the cutover the retry would go to the new campaign. The only thing between that lead and a second first email was one boolean in the request body.
The flag was set to the protective value. I still wanted to see it work on our account, because being wrong lands in a real person's inbox.
How do you test cross-campaign dedup without emailing anyone?
Use a target campaign that physically cannot send, and make the script prove that before it does anything else.
The new campaign had been created but never started, and no mailboxes were attached yet. A campaign with zero mailboxes cannot email anyone, whatever the outcome. The probe:
- Refuses to run if the target has any mailbox attached.
- Reads one real lead that is already in the old campaign.
- Pushes that lead into the new campaign with the flag set to
false. - Prints the full response.
- Reads the new campaign's lead list and looks for the email.
- If the lead is there, deletes it and exits non-zero, so nobody activates a campaign holding it.
Same request as our send job:
POST /api/v1/campaigns/{target_campaign_id}/leads
Content-Type: application/json
{
"lead_list": [
{ "email": "<a lead already in campaign A>", "first_name": "<first name>" }
],
"settings": {
"ignore_global_block_list": false,
"ignore_unsubscribe_list": false,
"ignore_duplicate_leads_in_other_campaign": false,
"return_lead_ids": true
}
}What did Smartlead return when the duplicate went through?
It accepted the lead. I ran the probe in August 2026 against the live API, the lead appeared in the new campaign's lead list, and the script deleted it.
These are the fields I recorded, with the email and lead id swapped for placeholders:
{
"upload_count": 1,
"already_added_to_campaign": 1,
"duplicate_count": 0,
"emailToLeadIdMap": {
"newlyAddedLeads": {},
"existingLeads": { "<lead email>": "<lead id>" },
"existingLeadsInOtherCampaigns": {}
}
}Skim it and it looks like a block: something was "already added", nothing was newly added, and an "existing" bucket holds the lead. None of that meant refused. Field by field:
upload_count: 1. One lead uploaded. True, it landed.already_added_to_campaign: 1. Reads like "already in this campaign, skipped". The target campaign was empty before the call and the lead was added. I can't tell you what Smartlead counts here. I can tell you it is not a block signal.duplicate_count: 0. No duplicate detected, although the lead was in another campaign on the same account.newlyAddedLeads: {}. My reading: empty because no new lead record was created. The person already existed on the account.existingLeads. The lead already exists on the account. It does not mean the add was refused.existingLeadsInOtherCampaigns: {}. The field you would expect to light up. It stayed empty while the lead sat in another campaign.
If your code checks any of these to decide whether a push was blocked, it is checking the wrong thing.
What do Smartlead's docs say the flag should do?
Block it. The add leads reference ↗ describes ignore_duplicate_leads_in_other_campaign as the switch that allows leads already in other campaigns, with a default of false. The lead management guide says dedup across campaigns is controlled by this setting, advises keeping it false, and lists a lead existing in another campaign as a reason it gets skipped while the flag is false. It also says the import response tells you what was skipped and why, through added_count, skipped_count and a skipped_leads array.
Our request had the flag at false. By the docs, as I read them now, the lead should have been skipped and the response should have said so. The lead went in. The response didn't match the documented example either: it led with upload_count, already_added_to_campaign and duplicate_count, and nothing I recorded reported a skip. If your code checks skipped_count because the docs show it, print a real response from your account first.
What I tested is narrow: one account, one lead, one target campaign that had never been started. That is not enough to say the flag fails for everyone. It is plenty to stop trusting it for a write that starts real outreach.
How do you check whether a lead is really in a Smartlead campaign?
Read the campaign's own lead list. The get campaign leads endpoint ↗ pages through every lead a campaign holds, at most 100 per request, with each lead's status.
async function isInCampaign(campaignId, email) {
const want = email.trim().toLowerCase();
for (let offset = 0; ; offset += 100) {
const page = await sl.get(`/campaigns/${campaignId}/leads`, { offset, limit: 100 });
// Docs show leads[].email; our client reads data[].lead.email.
const rows = page?.data || page?.leads || [];
if (rows.some((r) => String(r.lead?.email || r.email || "").toLowerCase() === want)) return true;
if (rows.length < 100) return false;
}
}Besides the addLeads counters, one more number looks like an answer and isn't: total_stats from the campaign statistics endpoint. It counts sent rows, not leads held. A campaign with no mailboxes never sends, so it reads 0 whether or not leads are sitting in it. On the probe target it would have told me the duplicate wasn't there.
One of our campaigns later held 16,669 leads. At 100 a page that is 167 requests, so a full sweep is a once-a-day job. The send loop shouldn't need it if your database does its job.
Does "contacted" in your database mean the email was sent?
In ours it didn't. contacted, first_contacted_at and last_contacted_at were stamped when we pushed a lead to Smartlead, not when an email left. Smartlead sends follow-ups first, so on a busy fleet new leads queue. When I audited that 16,669-lead campaign, 11,556 of them were in STARTED, which the docs define as added with the sequence not started. Those people had never been emailed. I wrote up the volume side in what a 30-mailbox Smartlead fleet really sends ↗.
The damage came from a rule that trusted our columns. A 15-day no-reply rule read our contacted timestamps, decided people had ignored us, retired 1,900 people who had never been emailed, and blocked 1,426 company domains. We put the 1,900 back.
For dedup, though, pushed is the right meaning: a lead handed to Smartlead must never be handed over again, emailed yet or not. So we keep the two questions apart:
- Dedup reads our own status. Pushed counts as contacted.
- Anything about time since an email reads Smartlead's lead status.
STARTEDmeans not emailed yet.
How do you enforce dedup when Smartlead won't?
Make your own database the only gate, and design for the write whose result you never see.
One row per person. The contacts table has a unique key on the normalised email, so the database refuses a second row for the same person, whichever code path tries.
UNIQUE KEY uk_contacts_email (email_normalized)Normalising lowercases and trims, strips a +tag from every address, and drops dots in Gmail local parts, so the dotted, tagged and plain forms of one Gmail address become one key. Stripping tags everywhere can merge two real addresses at a domain that treats + literally. I'll take an occasional missed lead over a double email.
One attempt per push. addLeads is a write that starts outreach, and the docs list no idempotency key for it, so our client sends it exactly once, with no retry wrapper. The timeout is 120 seconds. It used to be 30, until two 400-lead batches hit that limit after Smartlead had already committed them.
Stamp per chunk. Smartlead takes at most 400 leads per request. Each chunk is marked contacted right after Smartlead accepts it, so a failure in chunk two cannot leave chunk one unstamped and up for a repeat push.
Unknown counts as contacted. This is the rule the test forced:
for (let i = 0; i < leads.length; i += 400) {
const chunk = leads.slice(i, i + 400);
let res;
try {
res = await sl.addLeads(campaignId, chunk); // one attempt, 120s timeout
} catch (e) {
const status = e?.response?.status || 0;
const rejected = status >= 400 && status < 500 && status !== 408 && status !== 429;
if (!rejected) {
// Timeout, dropped connection, 5xx: Smartlead may have written the batch.
await markContacted(chunk, campaignId); // no outbound message row
await alert(`addLeads outcome unknown for ${chunk.length} lead(s). ` +
`Check the campaign; re-queue any that are absent.`);
}
break; // earlier chunks are already stamped
}
await markContacted(chunk, campaignId, leadIdsFrom(res));
}We read a 4xx other than 408 and 429 as a rejection: Smartlead refused the request and wrote nothing, so those leads stay selectable. Anything else is indeterminate. The leads are marked contacted, no outbound message row is written because we don't know anything was sent, and a critical alert goes to the system log and to Slack.
The trade is deliberate. If Smartlead never got the batch, those leads go quiet until a person checks the campaign and re-queues them. If we retried and Smartlead had got it, a prospect receives the same first email twice from a second sender. Quiet and recoverable beats loud and public.
What would I do differently?
I would have run the probe the day the flag went into our request body, not as a gate during a cutover. It sat there as the thing protecting us, and nobody had watched it do that job.
The rule I follow now, for any vendor setting that is supposed to stop a duplicate send:
1. Test it against the live account, with a target that cannot send.
2. Decide on the vendor's list endpoint, never on the write's response counters.
3. Keep dedup in your own database: one row per normalised email.
4. Send writes that start outreach exactly once.
5. Treat an unknown outcome as done, and alert a person.If your outbound stack pushes leads into more than one campaign and you're not sure what happens on a timeout, that's the kind of thing I look at in cold outreach automation ↗ work. Or get in touch ↗.
FAQ
Does Smartlead stop the same lead being added to two campaigns?
Not on the account I tested. With ignore_duplicate_leads_in_other_campaign set to false, Smartlead accepted a lead that already sat in another campaign, and the lead appeared in the second campaign's lead list. Treat cross-campaign dedup as your own job, enforced in your own database, not as a platform guarantee.
What does already_added_to_campaign mean in the Smartlead addLeads response?
It does not mean the add was refused. In my test it read 1 while the lead was being added to an empty campaign, next to upload_count 1 and an empty existingLeadsInOtherCampaigns. Don't use any addLeads counter to decide whether a push was blocked; read the campaign's lead list instead.
How do I check if a lead is already in a Smartlead campaign?
Page through GET /campaigns/{id}/leads, 100 leads per request, and match on the lowercased email. That list is the only answer I trust. The total_stats figure counts sent rows, so a campaign that holds leads but has no mailboxes reads 0.
Should I retry a Smartlead addLeads call that timed out?
No. A timeout or 5xx is indeterminate, because Smartlead may have committed the batch before the response reached you, and a retry routed to a different campaign can start a second first email. Mark those leads contacted, write no outbound message record, and alert a person to check the campaign and re-queue anything missing. Only a clean 4xx rejection, other than 408 or 429, is safe to read as nothing written.
Does a contacted status in my database mean the email was actually sent?
Often not. In our system it was stamped when the lead was pushed to Smartlead, and one audit found 11,556 of 16,669 leads in a campaign still in STARTED, never emailed. Use your own status for dedup, and use Smartlead's lead status for any rule about time since the last email.
Working on something like this?
I build web apps, AI features, and mobile products for clients. If this article matches a problem you have, tell me about it.
Start a conversationMalik Hamza Shabbir · Full-Stack & AI Engineer
I build full-stack and AI products solo: a reputation SaaS in production, RAG pipelines, and React Native apps. I write from what I ship, not from documentation summaries.
Run it on yours
Every number above came from code you can read.
The harness is open and the per-probe log ships with it. If you build one of these systems, or you are choosing between them with real money, the same method is available to you.
Send me an endpoint and I will write an adapter, run it on the same workload under the same rules, and publish the result. It goes in the table whether it wins or not.
Sponsored inclusion is disclosed in the article and the result publishes either way. Paying moves you up the queue, never up the table.
Related articles
Our New Cold Email Domains Were Flagged Before They Sent a Single Email
Ten new cold email domains were flagged on Validity's Heatwave blocklist while in Smartlead's warmup pool, before sending one real email. How warmup led to Spamhaus and SURBL listings, what we ruled out, and the hourly guard we run now.
30 Mailboxes, 900 Emails a Day: What Smartlead Actually Sends (and What the Dashboard Won't Tell You)
A 30-mailbox Smartlead fleet quoted at 900 emails a day could reach about 250 new people. How I found 11,556 leads queued and unsent, the per-mailbox setting capping every box, and the Outlook accounts that kept pausing everything.
Next.js proxy.ts Was Redirecting My Favicon and OG Image to the Login Page
In Next.js 16, my auth proxy sent /opengraph-image and the dynamic favicon to the login page with a 307, because a matcher that skipped static files by extension never caught these extensionless routes. Here are the before and after regexes and the curl check I run now.