smartlead-api

smartlead-api is a skill for Claude Code from AlexisMarasigan/coldoutboundskills. It costs 42 tokens per session (1,737 once invoked), scanned A, a copy of smartlead-api, MIT.

A reference for the Smartlead API, a web service for managing cold-email campaigns, leads, sending accounts, analytics, and replies.

In plain words
What is it for?
Creating and checking campaigns, managing leads and email accounts, reading analytics, and viewing replies.
Why use it?
It provides the endpoint, authentication, rate-limit, retry, and command details needed to work with Smartlead reliably.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the coldoutboundskills plugin — 28 skills shipped together

Good fit Creating and checking campaigns, managing leads and email accounts, reading analytics, and viewing replies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexismarasigan/coldoutboundskills/smartlead-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AlexisMarasigan/coldoutboundskills --skill smartlead-api
Clone the repo
git clone --depth 1 https://github.com/AlexisMarasigan/coldoutboundskills

Made for: Claude Code.

Or install coldoutboundskills, the plugin that ships this one along with the rest of its 28 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smartlead-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexismarasigan/coldoutboundskills/smartlead-api/github.svg)](https://agentmods.dev/skills/alexismarasigan/coldoutboundskills/smartlead-api)
Your own site
<a href="https://agentmods.dev/skills/alexismarasigan/coldoutboundskills/smartlead-api"><img src="https://agentmods.dev/badge/skills/alexismarasigan/coldoutboundskills/smartlead-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for smartlead-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexismarasigan/coldoutboundskills/smartlead-api"><img src="https://agentmods.dev/badge/skills/alexismarasigan/coldoutboundskills/smartlead-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,737 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.01737
Opus 5.5 $0.00017 $0.00695
Sonnet 5.5 $0.00008 $0.00347
Haiku 4.5 $0.00004 $0.00174

Measured 2mo ago against content hash a18fcc3c81e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

smartlead-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to smartlead-api — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/smartlead-api/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Smartlead API Reference

Authentication

All requests use query parameter auth: ?api_key={SMARTLEAD_API_KEY}

Environment variable: $SMARTLEAD_API_KEY

Base URL: https://server.smartlead.ai/api/v1

Rate Limiting

  • Standard plan: 2,000 req/min (33 req/sec)
  • Higher plans: 3,000 req/min (50 req/sec)
  • Retry on 429 and 5xx with exponential backoff
  • For bulk operations, use p-limit or PQueue with 8-15 concurrency

CLI Quick Reference

The smartlead CLI (@smartlead/cli) wraps all API endpoints. Use it for quick lookups:

# Campaigns
smartlead campaigns list
smartlead campaigns get <id>
smartlead campaigns create --name "Campaign Name"

# Leads
smartlead leads list --campaign-id <id>
smartlead leads add --campaign-id <id> --file leads.csv

# Email accounts
smartlead email-accounts list
smartlead email-accounts get <id>

# Analytics
smartlead analytics campaign <id>
smartlead analytics overall

# Master inbox
smartlead inbox replies

API Endpoints

Campaigns

GET  /campaigns/{id}                    — Fetch campaign by ID
POST /campaigns/create                  — Create new campaign
POST /campaigns/{id}/status             — Update status (START, PAUSED, STOP)
     Body: { "status": "START" }

Campaign Email Accounts

GET    /campaigns/{id}/email-accounts   — List accounts assigned to campaign
POST   /campaigns/{id}/email-accounts   — Add accounts to campaign
       Body: { "email_account_ids": [1, 2, 3] }
DELETE /campaigns/{id}/email-accounts   — Remove accounts from campaign

Campaign Sequences

GET  /campaigns/{id}/sequences          — Fetch sequences
POST /campaigns/{id}/sequences          — Save/update sequences
     Body: { "sequences": [{ "seq_number": 1, "seq_delay_details": { "delay_in_days": 0 }, "subject": "...", "email_body": "..." }] }

A/B/C Variants — use seq_variants array inside each sequence:

{
  "sequences": [{
    "seq_number": 1,
    "seq_delay_details": { "delay_in_days": 0 },
    "seq_variants": [
      { "variant_label": "A", "subject": "Subject A", "email_body": "<div>Body A</div>" },
      { "variant_label": "B", "subject": "Subject B", "email_body": "<div>Body B</div>" },
      { "variant_label": "C", "subject": "Subject C", "email_body": "<div>Body C</div>" }
    ]
  }]
}

Note: Do NOT include distribution field — SmartLead splits evenly automatically.

Read the full file on GitHub · 208 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 208 lines · 42 tokens per session scan A a18fcc3c81e6

Subscribe to this mod's changes

smartlead-api is a skill published in the GitHub repository AlexisMarasigan/coldoutboundskills (5 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 1,737 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to smartlead-api, differing in 0 lines, and is treated as a copy.

Related

smartlead-api compared with skills from other repositories

smartlead-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smartlead-apiAlexisMarasigan/coldoutboundskillsSkill56mo agoMITA42Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code