ghl-cli
v0.1.2
Published
CLI for GoHighLevel CRM via MCP
Readme
GHL CLI 🚀
Command-line interface for GoHighLevel CRM via MCP.
Manage contacts, conversations, calendar, opportunities, and payments from your terminal.
Installation
npm install -g ghl-cliSetup
ghl authYou'll need:
- Private Integration Token (PIT) - from Settings > Private Integrations in GHL
- Location ID - your sub-account ID
Usage
Contacts
ghl contacts list # List contacts
ghl contacts get <id> # Get contact details
ghl contacts create --name "John Doe" --email [email protected]
ghl contacts tag <id> lead hot # Add tags
ghl contacts tasks <id> # Get tasks for contactConversations
ghl conv search # Search conversations
ghl conv messages <id> # Get messages
ghl conv send <id> "Hello!" # Send SMS
ghl conv send <id> "Hello!" --type EmailCalendar
ghl cal events # List calendar events
ghl cal notes <appointmentId> # Get appointment notesOpportunities
ghl opp pipelines # List pipelines
ghl opp search # Search opportunities
ghl opp get <id> # Get opportunity details
ghl opp update <id> --status won --value 5000Payments
ghl pay transactions # List transactions
ghl pay order <id> # Get order detailsLocation
ghl loc info # Get location details
ghl loc fields # List custom fieldsEnvironment Variables
Instead of ghl auth, you can set:
export GHL_TOKEN="pit-xxxxx"
export GHL_LOCATION_ID="xxxxx"License
MIT © Quentin Daems
Credits
Built with LoopShip 🚀 Uses GoHighLevel MCP
