HubSpot CRM - contacts, deals, companies via REST API
pip install cli-anything-hubspot
# 1. Install pip install cli-anything-hubspot # 2. Configure export HUBSPOT_API_KEY=pat-na1-xxxxxxxx # 3. Verify hubspot-cli detect # 4. Discover capabilities (Agent-friendly) hubspot-cli schema
hubspot-cli --json schema # Discover all commands without credentials hubspot-cli --json detect # Verify connectivity and credentials hubspot-cli --json contacts list [--limit N]
| Command | Description |
|---|---|
detect | Check connectivity |
contacts list [--limit N] | List contacts |
contacts search --email STR | Search by email |
contacts create --email STR [--first STR] [--last STR] | Create contact |
deals list [--limit N] | List deals |
deals create --name STR --amount FLOAT --stage STR | Create deal |
companies list [--limit N] | List companies |
companies search --domain STR | Search by domain |
schema | Output capability schema |
HUBSPOT_API_KEY=pat-na1-xxxxxxxx