heyreach-master

Provides shared API client, scripts, and references for HeyReach LinkedIn automation integration.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/FahadImdad/Nexus-Fahad --skill heyreach-master-fahadimdad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: heyreach-master
Source: https://github.com/FahadImdad/Nexus-Fahad/tree/main/00-system/skills/heyreach/heyreach-master
Command: npx skills add https://github.com/FahadImdad/Nexus-Fahad --skill heyreach-master-fahadimdad

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve? Working with the HeyReach API requires repeating the same setup instructions, authentication logic, and error handling across every integration point. This Skill centralizes the shared API client, configuration checker, operation scripts, and reference documentation into one internal library so HeyReach operations stay consistent and maintainable. ## Core Features & Use Cases - Shared API Client: A Python client (heyreach_client.py) with automatic retry, exponential backoff, rate limit handling (300 req/min), and consistent error responses for all HeyReach endpoints. - Configuration Validation: A pre-flight checker (check_heyreach_config.py) that validates the API key, tests the connection, and returns structured JSON with an ai_action field guiding the next step. - Operation Scripts: Ready-to-run scripts for listing campaigns, adding leads, toggling campaign status, retrieving conversations, and pulling analytics. - Use Case: Before running any HeyReach operation, run the config checker; if it returns prompt_for_api_key, ask the user for their key, write it to .env, and proceed with campaign management tasks like adding leads or pausing a campaign. ## Quick Start Run the HeyReach config checker script with the --json flag to verify my API key is configured, then list all my HeyReach campaigns.

Frequently Asked Questions about heyreach-master

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add leads to a HeyReach campaign with Python?

Use the add_leads.py script with a campaign ID and either a JSON array of lead objects or comma-separated LinkedIn URLs. It calls the /campaign/AddLeadsToCampaign endpoint and reports how many leads were added or flagged as duplicates.

How do I check if my HeyReach API key is configured correctly?

Run check_heyreach_config.py with the --json flag. It verifies the .env file exists, confirms HEYREACH_API_KEY is present, tests the key against the HeyReach auth endpoint, and returns an ai_action field telling you what to do next.

What is the HeyReach API rate limit and how is it handled?

The HeyReach API allows 300 requests per minute. The shared heyreach_client.py handles 429 responses automatically by waiting for the Retry-After period and retrying with exponential backoff, up to three attempts.

Why am I getting a 401 Unauthorized error from the HeyReach API?

A 401 error means the API key is invalid, expired, or missing. Verify HEYREACH_API_KEY in your .env file has no extra spaces, and regenerate the key in HeyReach under Settings → API if the problem persists.

Can I pause and resume HeyReach campaigns from the command line?

Yes, the toggle_campaign.py script accepts a campaign ID and a status of ACTIVE or PAUSED. It maps these to the HeyReach Resume and Pause endpoints and confirms the new status after the change.