List Leads by Campaign ID (Smartlead)
Smartlead → List Leads by Campaign ID (Smartlead)
/v1/smartlead-list-campaign-leads{ "campaign_id": "sample-value", "status": "sample-value", "limit": 1 }
{ "ok": true, "data": { "lead_id": "rec_4f3a91", "first_name": "sample", "last_name": "sample", "email": "[email protected]", "mobile_number": "sample", "company_name": "sample", "linkedin_url": "https://acme.com", "status": "valid", "is_unsubscribed": "sample", "location": "sample", "website": "https://acme.com", "campaign_lead_map_id": "rec_4f3a91", "created_timestamp": "sample" } }
Fetches all leads associated with a specific campaign ID in Smartlead.
Install
Add list leads by campaign id (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.
{ "mcpServers": { "texau": { "command": "npx", "args": ["-y", "@texau/mcp-server"], "env": { "TEXAU_API_KEY": "..." } } } }
Tool name: texau__smartlead-list-campaign-leads
When to use this.
The "List Leads by Campaign ID (Smartlead)" action allows users to efficiently retrieve all leads associated with a specific campaign ID within the Smartlead platform. Key input parameters include "campaign_id," which is essential for identifying the campaign, and optional filters such as "status" to narrow down leads by their current status, and "limit" to control the number of leads returned. The output includes a comprehensive set of data fields such as lead IDs, first and last names, emails, phone numbers, company names, LinkedIn profiles, lead statuses, and more, providing a detailed overview of each lead's information. This action is particularly useful for marketing teams and sales professionals looking to analyze campaign performance, manage lead follow-ups, and enhance targeted outreach efforts. As part of the integration category, it streamlines lead management processes and supports data-driven decision-making.
Try it
Run a sample request.
The response is a deterministic, cached example. No live call, no credits used.
List Leads by Campaign ID (Smartlead)
Response
Output schema.
Every field returned in `data`. Click rows to expand nested objects.
lead_idLead Idarrayfirst_nameFirst Namearraylast_nameLast NamearrayemailEmailnullablearraymobile_numberMobile Numbernullablearraycompany_nameCompany Namenullablearraylinkedin_urlLinkedin UrlnullablearraystatusStatusnullablearrayis_unsubscribedIs UnsubscribednullablearraylocationLocationnullablearraywebsiteWebsitenullablearraycampaign_lead_map_idCampaign Lead Map Idnullablearraycreated_timestampCreated Timestampnullablearray
Integrate
Copy-pasteable snippets.
Real endpoint: https://v3-api.texau.com/api/v1/smartlead-list-campaign-leads. Auth: x-api-key.
/v1/smartlead-list-campaign-leadscurl -X POST 'https://v3-api.texau.com/api/v1/smartlead-list-campaign-leads' \ -H 'x-api-key: $TEXAU_API_KEY' \ -H 'content-type: application/json' \ -d '{"campaign_id":"sample-value","status":"sample-value","limit":1}'
{ "ok": true, "data": { "lead_id": "rec_4f3a91", "first_name": "sample", "last_name": "sample", "email": "[email protected]", "mobile_number": "sample", "company_name": "sample", "linkedin_url": "https://acme.com", "status": "valid", "is_unsubscribed": "sample", "location": "sample", "website": "https://acme.com", "campaign_lead_map_id": "rec_4f3a91", "created_timestamp": "sample" } }
Compose
How this fits a workflow.
The next 2 actions most operators chain after this one.
integration
Update Campaign Lead (Smartlead)
Update details for a specific lead within a Smartlead campaign.
integration
Add Leads to Campaign (Smartlead)
Add a lead to a specific Smartlead campaign and retrieve detailed import metrics.
integration
List Campaigns (Smartlead)
Retrieve a list of Smartlead campaigns with their statuses, scheduling settings, and configuration details.
Output
Results land in a TexAu table.
Sample rows below.
Real result preview coming soon.
| Input | Status | Score |
|---|---|---|
| [email protected] | valid | 96 |
| [email protected] | risky | 54 |
| [email protected] | invalid | 12 |
Workflow
A real example.
Trigger → list leads by campaign id (smartlead) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.
Built for
Who runs this.
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.
| Code | Cause | Fix |
|---|---|---|
| 200 OK | Action ran. Data in `data`. | Read response. |
| 400 Bad Request | Missing or malformed input. | Validate against the input schema. |
| 401 Unauthorized | Missing or invalid `x-api-key`. | Re-issue from /api-platform. |
| 403 Forbidden | Workspace lacks plan tier. | Upgrade or contact sales. |
| 404 Not Found | Action key not recognized. | Verify the slug. |
| 429 Rate Limited | Per-minute or per-day cap hit. | Backoff; reduce concurrency. |
| 500 Server Error | Unexpected TexAu issue. | Retry with backoff. |
| 502 Bad Gateway | Upstream provider 5xx. | Retry; we surface root cause. |
| 504 Timeout | Upstream slower than maxLatency. | Switch to `isAsync` polling. |
Related
More Smartlead actions.
integration
Update Campaign Lead (Smartlead)
Update details for a specific lead within a Smartlead campaign.
integration
Add Leads to Campaign (Smartlead)
Add a lead to a specific Smartlead campaign and retrieve detailed import metrics.
integration
List Campaigns (Smartlead)
Retrieve a list of Smartlead campaigns with their statuses, scheduling settings, and configuration details.
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 List Leads by Campaign ID (Smartlead) in 60 seconds.
Pull your API key, paste the cURL, ship to your CRM.