Smartlead logo

Add Leads to Campaign (Smartlead)

SmartleadAdd Leads to Campaign (Smartlead)

POST/v1/smartlead-add-campaign-leads
texau__smartlead-add-campaign-leadsintegration
cURL · api.texau.app
84ms
POST/v1/smartlead-add-campaign-leads
{
  "campaign_id": "sample-value",
  "email": "[email protected]",
  "first_name": "Jane",
  "last_name": "Doe",
  "company_name": "Acme, Inc.",
  "title": "sample-value",
  "mobile_number": "sample-value",
  "website": "https://acme.com",
  "location": "sample-value",
  "linkedin_url": "https://acme.com"
}
200 Accepted
{
  "ok": true,
  "data": {
    "ok": true,
    "upload_count": 1,
    "already_added_to_campaign": 1,
    "total_leads": 1,
    "duplicate_count": 1,
    "block_count": 1,
    "invalid_email_count": "[email protected]",
    "bounce_count": 1,
    "lead_import_stopped_count": 1,
    "is_lead_limit_exhausted": true
  }
}

Add a lead to a specific Smartlead campaign and retrieve detailed import metrics.

Install

Add add leads to campaign (smartlead) to your MCP client.

Drop this into claude_desktop_config.json (or your client's equivalent) and the tool shows up in any chat.

claude_desktop_config.json
{
  "mcpServers": {
    "texau": {
      "command": "npx",
      "args": ["-y", "@texau/mcp-server"],
      "env": { "TEXAU_API_KEY": "..." }
    }
  }
}

Tool name: texau__smartlead-add-campaign-leads

When to use this.

The "Add Leads to Campaign (Smartlead)" action allows users to efficiently add leads to a designated Smartlead campaign while retrieving detailed import metrics. Key input parameters include the unique campaign identifier (campaign_id) and the lead's email address, which is mandatory. Additional optional fields such as first name, last name, company name, job title, phone number, website, location, and LinkedIn profile enhance lead data quality. The action outputs critical metrics, including success status, upload count, duplicate and invalid email counts, and lead limit status, all represented in boolean and numeric formats. This action is particularly useful for marketing and sales teams looking to streamline lead management, track campaign performance, and ensure data integrity in their outreach efforts. It falls under the integration category, making it a vital tool for seamless CRM and marketing automation workflows.

Try it

Run a sample request.

The response is a deterministic, cached example. No live call, no credits used.

Add Leads to Campaign (Smartlead)

Try it

The unique identifier of the Smartlead campaign.

The email address of the lead (Required).

First name of the lead.

Last name of the lead.

Name of the company.

Job title of the lead.

Response is cached — no live API call.

Response

Output schema.

Every field returned in `data`. Click rows to expand nested objects.

FieldType
  • ok
    Ok
    boolean
  • upload_count
    Upload Count
    nullablenumber
  • already_added_to_campaign
    Already Added To Campaign
    number
  • total_leads
    Total Leads
    nullablenumber
  • duplicate_count
    Duplicate Count
    nullablenumber
  • block_count
    Block Count
    nullablenumber
  • invalid_email_count
    Invalid Email Count
    nullablenumber
  • bounce_count
    Bounce Count
    nullablenumber
  • lead_import_stopped_count
    Lead Import Stopped Count
    nullablenumber
  • is_lead_limit_exhausted
    Is Lead Limit Exhausted
    nullableboolean

Integrate

Copy-pasteable snippets.

Real endpoint: https://v3-api.texau.com/api/v1/smartlead-add-campaign-leads. Auth: x-api-key.

cURL · api.texau.app
84ms
POST/v1/smartlead-add-campaign-leads
curl -X POST 'https://v3-api.texau.com/api/v1/smartlead-add-campaign-leads' \
  -H 'x-api-key: $TEXAU_API_KEY' \
  -H 'content-type: application/json' \
  -d '{"campaign_id":"sample-value","email":"[email protected]","first_name":"Jane","last_name":"Doe","company_name":"Acme, Inc.","title":"sample-value","mobile_number":"sample-value","website":"https://acme.com","location":"sample-value","linkedin_url":"https://acme.com"}'
200 Accepted
{
  "ok": true,
  "data": {
    "ok": true,
    "upload_count": 1,
    "already_added_to_campaign": 1,
    "total_leads": 1,
    "duplicate_count": 1,
    "block_count": 1,
    "invalid_email_count": "[email protected]",
    "bounce_count": 1,
    "lead_import_stopped_count": 1,
    "is_lead_limit_exhausted": true
  }
}

Output

Results land in a TexAu table.

Sample rows below.

Real result preview coming soon.

InputStatusScore
[email protected]valid96
[email protected]risky54
[email protected]invalid12

Workflow

A real example.

Trigger → add leads to campaign (smartlead) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.

Step 1TriggerNew row, webhook, or schedule.
Step 2Add Leads to Campaign (Smartlead)Smartlead action runs.
Step 3EnrichWaterfall fills missing fields.
Step 4Push to CRMHubSpot / Salesforce / Pipedrive.

Built for

Who runs this.

GTM EngineerRevOpsAgency

Reliability

Rate limits & reliability.

  • Per-minute limitNo public cap
  • Per-day limitPlan-defined
  • RetriesAutomatic w/ backoff
  • ModeSync

Errors

HTTP status codes.

What each response means and what to do about it.

CodeCauseFix
200 OKAction ran. Data in `data`.Read response.
400 Bad RequestMissing or malformed input.Validate against the input schema.
401 UnauthorizedMissing or invalid `x-api-key`.Re-issue from /api-platform.
403 ForbiddenWorkspace lacks plan tier.Upgrade or contact sales.
404 Not FoundAction key not recognized.Verify the slug.
429 Rate LimitedPer-minute or per-day cap hit.Backoff; reduce concurrency.
500 Server ErrorUnexpected TexAu issue.Retry with backoff.
502 Bad GatewayUpstream provider 5xx.Retry; we surface root cause.
504 TimeoutUpstream slower than maxLatency.Switch to `isAsync` polling.

Pricing

What it costs to run.

Light tier

Pricing tier on /pricing. Per-action credit cost is private.

FAQ.

  • Is this real-time?

    Yes. Synchronous actions return in ~1–4 s. Long-running work uses async polling (see status 504 → switch to async).

  • Do I get charged on failure?

    No. Verified failures cost zero credits. Provider miss / 5xx / timeout cascade to the next provider in the waterfall when applicable.

  • Does it work with Claude / Cursor via MCP?

    Yes. Add the texau MCP server to your client config, then call `texau__smartlead-...` directly.

  • What CRMs can I push results to?

    HubSpot, Salesforce, Pipedrive, Zoho, and GoHighLevel are bidirectional. Smartlead, Instantly, Lemlist, HeyReach, Apollo Sequences, and Reply.io for outbound.

Run Add Leads to Campaign (Smartlead) in 60 seconds.

Pull your API key, paste the cURL, ship to your CRM.