FAQ/
Cold email software, plans and integrations

Smartlead API and webhooks

17 questions about the Smartlead API and webhooks, each answered in general terms first, then for Smartlead.

What can you do with a cold email platform's API?

A cold email API lets you automate what you'd otherwise do in the app: add or update leads in campaigns, create campaigns and sequences, connect mailboxes, pull analytics and replies, and change lead status. Teams use it to push leads straight from enrichment tools or their own product, and to sync results into a CRM or data warehouse.

Smartlead's REST API covers campaigns, leads, email accounts, sequences, webhooks and analytics, and accepts up to 1,000 leads per add-leads call.

Does Smartlead have an API?

Yes. Smartlead has a REST API (base URL server.smartlead.ai/api/v1) covering campaigns, leads, email accounts, sequences, webhooks and analytics. It's available on Pro and above, and the account owner or admins can create up to 25 admin API keys.

Is API access included in my Smartlead plan?

API access is included at no extra cost on Pro, Unlimited Smart and Unlimited Prime. It isn't available on Base, so Base users import leads by CSV or upgrade to Pro for API-based automations.

Where do I find my Smartlead API key?

Go to Settings → API Key Management → Admin API Keys. You need to be the account owner or an admin on Pro or above. Create a separate named key for each integration so you can revoke one without breaking the others.

How do I authenticate Smartlead API requests?

Pass your key as the api_key query parameter on every request, for example https://server.smartlead.ai/api/v1/campaigns?api_key=YOUR_KEY. Header-based authentication isn't accepted, so make sure your HTTP tool appends the query parameter.

How many leads can I add per Smartlead API call?

Up to 1,000 leads per add-leads API call, with up to 200 custom fields per lead. CSV imports allow up to 40 custom variables per lead, so use the API when you need richer personalisation data.

How do I add leads to a Smartlead campaign through the API?

Send a POST request to /campaigns/{campaign_id}/leads?api_key=YOUR_KEY with a JSON body containing a leads array; each lead needs an email plus optional first_name, last_name, company and custom fields. Make, n8n, Clay and similar tools can make the same call.

Can I create a read-only Smartlead API key?

No. Smartlead API keys aren't scoped, so every admin key has full access. Campaigns created through the API or MCP stay in draft until started, but the same key can start them, so treat keys like passwords and use one per integration.

What is the Smartlead API rate limit?

Smartlead applies a per-account API rate limit, and calls over it return HTTP 429. Limits can be raised on request, so build retries with backoff into your integration and contact support if you need more throughput.

Does Smartlead have a command-line tool (CLI)?

Yes. The Smartlead CLI (npm install -g @smartlead/cli) lets you manage campaigns, leads and other resources from your terminal or scripts, and works well with coding agents. It uses your Smartlead API key.

What is a webhook in cold email software?

A webhook is an automatic HTTP request a cold email tool sends to a URL you choose when something happens, such as a reply, bounce, unsubscribe or a lead being marked interested. It lets other systems react instantly, for example creating a CRM deal, alerting Slack or adding the lead to a LinkedIn campaign, without polling an API.

Smartlead sends webhooks as HTTPS POST requests with a JSON body, and you can set them at user, client or campaign level.

How do Smartlead webhooks work?

Create a webhook in Settings, or per campaign or client, choose the events and optional lead-category filters, and enter your URL. Smartlead POSTs a JSON payload when each event happens. Webhooks can be HMAC-signed, have an Activity log showing delivery status and failure reasons, and are auto-disabled after 7 days of failures.

Which webhook events does Smartlead support?

Smartlead webhooks can fire on Email Sent, First Email Sent, Email Open, Email Link Click, Email Reply, Lead Unsubscribed, Lead Category Updated, Email Bounce, Campaign Status Changed, Manual Step Reached and Untracked Replies. A separate notification fires when bounce protection auto-pauses a campaign.

Can a webhook be triggered as a step in a Smartlead sequence?

Yes, with a Manual Task step. Sequence steps can be Email, Call or Manual Task; when a lead reaches a Manual Task, Smartlead fires the Manual Step Reached webhook so an external system can act at that point. Behaviour-based webhooks also fire on opens, clicks, replies and category changes.

Why isn't my Smartlead webhook firing?

The most common cause is webhook priority: a user-level webhook overrides client- and campaign-level webhooks, and if several exist at one level the last updated one wins. Also check the event type is selected, any category filter matches, and your endpoint returns a 2xx response quickly.

How do I avoid processing duplicate webhook events?

Make your webhook endpoint idempotent: store each event's unique ID and skip any you've already processed, return a 2xx status quickly and do the heavy work asynchronously. Retries after timeouts or errors can deliver the same event more than once, so deduplication is standard practice for any webhook integration.

In Smartlead, also avoid overlapping webhooks for the same events at user, client and campaign level, which can produce duplicate deliveries.

Are Smartlead webhooks signed?

Yes. Smartlead supports optional HMAC-signed webhooks following the Standard Webhooks scheme, so your endpoint can verify that each request really came from Smartlead and wasn't modified in transit.

Powerful automated workflows that drive sales.

Try Smartlead's AI-led outbound system today.