Heyreach logo

Get Leads from Campaign (HeyReach)

HeyReachGet Leads from Campaign (HeyReach)

POST/v1/heyreach-get-leads-from-campaign
texau__heyreach-get-leads-from-campaignintegration
cURL · api.texau.app
84ms
POST/v1/heyreach-get-leads-from-campaign
{
  "campaign_id": "sample-value",
  "limit": 1,
  "offset": 1
}
200 Accepted
{
  "ok": true,
  "data": {
    "lead_id": "rec_4f3a91",
    "created_time": "sample",
    "last_action_time": "sample",
    "lead_campaign_status": "valid",
    "lead_campaign_status_message": "valid",
    "lead_connection_status": "valid",
    "lead_message_status": "valid",
    "linkedin_sender_full_name": "sample",
    "linkedin_sender_id": "rec_4f3a91",
    "linkedin_account_id": 1,
    "profile_first_name": "sample",
    "profile_last_name": "sample",
    "profile_headline": "sample",
    "profile_about": "sample",
    "profile_company_name": "sample",
    "profile_company_url": "https://acme.com",
    "profile_email_address": "[email protected]",
    "profile_connection": 1,
    "profile_follower": 1,
    "profile_image_url": "https://acme.com",
    "profile_location": "sample",
    "profile_position": "sample",
    "profile_url": "https://acme.com",
    "profile_linkedin_id": "rec_4f3a91",
    "total_count": 1
  }
}

Retrieve LinkedIn leads and profile details from a specific HeyReach campaign.

Install

Add get leads from campaign (heyreach) 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__heyreach-get-leads-from-campaign

When to use this.

The "Get Leads from Campaign" action in HeyReach enables users to efficiently retrieve LinkedIn leads and their profile details from a specified HeyReach campaign. By providing the unique campaignId, users can access a curated list of leads, with optional parameters for limit and offset to manage the volume of data retrieved. The output includes essential lead information such as leadId, creationTime, leadCampaignStatus, and detailed profile attributes including firstName, lastName, jobTitle, and LinkedIn profile URL. This action is particularly useful for marketing teams and sales professionals looking to analyze campaign performance, track lead engagement, and enhance their outreach strategies. Categorized under integration, this action streamlines the process of lead management and data analysis, making it an invaluable tool for businesses leveraging LinkedIn for lead generation.

Try it

Run a sample request.

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

Get Leads from Campaign (HeyReach)

Try it

Unique identifier of the HeyReach campaign to retrieve leads from.

limit

offset

Response is cached — no live API call.

Response

Output schema.

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

FieldType
  • lead_id
    Lead Id
    nullablenumber
  • created_time
    Created Time
    nullablestring
  • last_action_time
    Last Action Time
    nullablestring
  • lead_campaign_status
    Lead Campaign Status
    string
  • lead_campaign_status_message
    Lead Campaign Status Message
    nullablestring
  • lead_connection_status
    Lead Connection Status
    nullablestring
  • lead_message_status
    Lead Message Status
    nullablestring
  • linkedin_sender_full_name
    Linkedin Sender Full Name
    nullablestring
  • linkedin_sender_id
    Linkedin Sender Id
    nullablenumber
  • linkedin_account_id
    Linkedin Account Id
    nullablestring
  • profile_first_name
    Profile First Name
    string
  • profile_last_name
    Profile Last Name
    string
  • profile_headline
    Profile Headline
    string
  • profile_about
    Profile About
    nullablestring
  • profile_company_name
    Profile Company Name
    string
  • profile_company_url
    Profile Company Url
    nullablestring
  • profile_email_address
    Profile Email Address
    string
  • profile_connection
    Profile Connection
    nullablenumber
  • profile_follower
    Profile Follower
    nullablenumber
  • profile_image_url
    Profile Image Url
    nullablestring
  • profile_location
    Profile Location
    nullablestring
  • profile_position
    Profile Position
    nullablestring
  • profile_url
    Profile Url
    string
  • profile_linkedin_id
    Profile Linkedin Id
    nullablestring
  • total_count
    Total Count
    nullablenumber

Integrate

Copy-pasteable snippets.

Real endpoint: https://v3-api.texau.com/api/v1/heyreach-get-leads-from-campaign. Auth: x-api-key.

cURL · api.texau.app
84ms
POST/v1/heyreach-get-leads-from-campaign
curl -X POST 'https://v3-api.texau.com/api/v1/heyreach-get-leads-from-campaign' \
  -H 'x-api-key: $TEXAU_API_KEY' \
  -H 'content-type: application/json' \
  -d '{"campaign_id":"sample-value","limit":1,"offset":1}'
200 Accepted
{
  "ok": true,
  "data": {
    "lead_id": "rec_4f3a91",
    "created_time": "sample",
    "last_action_time": "sample",
    "lead_campaign_status": "valid",
    "lead_campaign_status_message": "valid",
    "lead_connection_status": "valid",
    "lead_message_status": "valid",
    "linkedin_sender_full_name": "sample",
    "linkedin_sender_id": "rec_4f3a91",
    "linkedin_account_id": 1,
    "profile_first_name": "sample",
    "profile_last_name": "sample",
    "profile_headline": "sample",
    "profile_about": "sample",
    "profile_company_name": "sample",
    "profile_company_url": "https://acme.com",
    "profile_email_address": "[email protected]",
    "profile_connection": 1,
    "profile_follower": 1,
    "profile_image_url": "https://acme.com",
    "profile_location": "sample",
    "profile_position": "sample",
    "profile_url": "https://acme.com",
    "profile_linkedin_id": "rec_4f3a91",
    "total_count": 1
  }
}

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 → get leads from campaign (heyreach) → enrich → push to your CRM. ~80 ms operator effort, the rest runs in the background.

Step 1TriggerNew row, webhook, or schedule.
Step 2Get Leads from Campaign (HeyReach)HeyReach 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__heyreach-...` 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 Get Leads from Campaign (HeyReach) in 60 seconds.

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