{"skill":{"slug":"hlp-ghl-api","displayName":"Hlp Ghl Api","summary":"HubLinkPro GoHighLevel API — manage contacts, pipelines, workflows, and messaging for Tri-Cities real estate lead gen","description":"---\nname: hlp-ghl-api\ndescription: HubLinkPro GoHighLevel API — manage contacts, pipelines, workflows, and messaging for Tri-Cities real estate lead gen\nrequires:\n  env:\n    - GHL_API_KEY\n    - GHL_LOCATION_ID\n  bins:\n    - curl\n    - jq\n---\n\n# HubLinkPro GHL API Skill\n\nBase URL: `https://services.leadconnectorhq.com`\nAuth header: `Authorization: Bearer $GHL_API_KEY`\nAll requests include: `Version: 2021-07-28`\n\n## Get Contact by Phone or Email\n\ncurl -s -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" \\\n  \"https://services.leadconnectorhq.com/contacts/search/duplicate?locationId=$GHL_LOCATION_ID&email=$EMAIL\" | jq .\n\n## Create or Update Contact\n\ncurl -s -X POST \"https://services.leadconnectorhq.com/contacts/\" \\\n  -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" -H \"Content-Type: application/json\" \\\n  -d '{\"firstName\":\"$FIRST\",\"lastName\":\"$LAST\",\"email\":\"$EMAIL\",\"phone\":\"$PHONE\",\"locationId\":\"'$GHL_LOCATION_ID'\",\"tags\":[\"$TAGS\"],\"source\":\"$SOURCE\"}' | jq .\n\n## Add Tags to Contact\n\ncurl -s -X POST \"https://services.leadconnectorhq.com/contacts/$CONTACT_ID/tags\" \\\n  -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" -H \"Content-Type: application/json\" \\\n  -d '{\"tags\":[\"$TAG1\",\"$TAG2\"]}' | jq .\n\n## Create Opportunity (Pipeline Deal)\n\ncurl -s -X POST \"https://services.leadconnectorhq.com/opportunities/\" \\\n  -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" -H \"Content-Type: application/json\" \\\n  -d '{\"pipelineId\":\"$PIPELINE_ID\",\"locationId\":\"'$GHL_LOCATION_ID'\",\"name\":\"$DEAL_NAME\",\"stageId\":\"$STAGE_ID\",\"contactId\":\"$CONTACT_ID\",\"status\":\"open\"}' | jq .\n\n## Move Opportunity Stage\n\ncurl -s -X PUT \"https://services.leadconnectorhq.com/opportunities/$OPP_ID/status\" \\\n  -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" -H \"Content-Type: application/json\" \\\n  -d '{\"stageId\":\"$NEW_STAGE_ID\"}' | jq .\n\n## List Pipelines\n\ncurl -s -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" \\\n  \"https://services.leadconnectorhq.com/opportunities/pipelines?locationId=$GHL_LOCATION_ID\" | jq .\n\n## Send SMS via Conversations API\n\ncurl -s -X POST \"https://services.leadconnectorhq.com/conversations/messages\" \\\n  -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" -H \"Content-Type: application/json\" \\\n  -d '{\"type\":\"SMS\",\"contactId\":\"$CONTACT_ID\",\"message\":\"$MESSAGE\"}' | jq .\n\n## Search Contacts by Tag\n\ncurl -s -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" \\\n  \"https://services.leadconnectorhq.com/contacts/?locationId=$GHL_LOCATION_ID&query=$SEARCH_TERM&limit=20\" | jq .\n\n## Get Contact Activity / Notes\n\ncurl -s -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" \\\n  \"https://services.leadconnectorhq.com/contacts/$CONTACT_ID/notes\" | jq .\n\n## Add Note to Contact\n\ncurl -s -X POST \"https://services.leadconnectorhq.com/contacts/$CONTACT_ID/notes\" \\\n  -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" -H \"Content-Type: application/json\" \\\n  -d '{\"body\":\"$NOTE_TEXT\"}' | jq .\n\n## Trigger Workflow for Contact\n\ncurl -s -X POST \"https://services.leadconnectorhq.com/contacts/$CONTACT_ID/workflow/$WORKFLOW_ID\" \\\n  -H \"Authorization: Bearer $GHL_API_KEY\" -H \"Version: 2021-07-28\" -H \"Content-Type: application/json\" | jq .\n\n## Key HubLinkPro Context\n\n- Location: Tri-Cities TN (Johnson City, Kingsport, Bristol)\n- Pipelines: HLP – Sellers, New Construction, Pre-Foreclosure\n- Tags: new-lead, fb-seller, new-construction, pre-foreclosure, contacted, qualified, nurture\n- Agents: Tasha, Nate, Cory, Laura, Mary Ellen, Josh\n- When assigning leads, use tag format: agent-{firstname}\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":485,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1774035850803,"updatedAt":1778492072793},"latestVersion":{"version":"1.0.0","createdAt":1774035850803,"changelog":"Initial release of HubLinkPro GoHighLevel API Skill.\n\n- Provides shell commands for managing contacts, pipelines, workflows, and messaging via the GoHighLevel API.\n- Supports searching, creating, and updating contacts; adding tags and notes; and triggering workflows.\n- Includes pipeline opportunity management and SMS sending capability.\n- Designed for Tri-Cities real estate lead generation use cases.\n- Requires environment variables: GHL_API_KEY, GHL_LOCATION_ID.","license":"MIT-0"},"metadata":{"setup":[{"key":"GHL_API_KEY","required":true},{"key":"GHL_LOCATION_ID","required":true}],"os":null,"systems":null},"owner":{"handle":"mbright4497","userId":"s17a6p6kpaz55fj770xc1xeaes83h6m4","displayName":"mbright4497","image":"https://avatars.githubusercontent.com/u/263378169?v=4"},"moderation":null}