You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@versatly/hubspot-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@versatly/hubspot-cli

HubSpot CLI for CRM operations (contacts, deals, companies, tasks).

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@versatly/hubspot-cli

HubSpot CLI for CRM operations: contacts, deals, companies, and tasks.

Install

npm install -g @versatly/hubspot-cli

Authentication

Option 1: Private App Token

export HUBSPOT_ACCESS_TOKEN="your_private_app_token"

Option 2: pdauth (OAuth)

pdauth connect hubspot --user telegram:5439689035
export HUBSPOT_PDAUTH_USER="telegram:5439689035"

You can also pass the user per command:

hubspot --user telegram:5439689035 contacts list

Usage

# Contacts
hubspot contacts list --limit 20
hubspot contacts get 123
hubspot contacts search "pedro"
hubspot contacts create --email pedro@example.com --name "Pedro Sousa"

# Deals
hubspot deals list
hubspot deals list --stage closedwon
hubspot deals get 456
hubspot deals create --name "Website Retainer" --amount 2500

# Companies
hubspot companies list

# Tasks
hubspot tasks list
hubspot tasks create --title "Follow up with lead" --due 2026-02-10

Notes

  • For tasks create, the --due value accepts ISO dates like 2026-02-10 or 2026-02-10T15:30:00.
  • When using pdauth, this CLI invokes pdauth proxy hubspot under the hood.

License

MIT (c) Versatly

Keywords

hubspot

FAQs

Package last updated on 06 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts