InvokeHubspot
0.5.1
PowerShell module for managing HubSpot CRM deals and their company and contact associations via REST API with Bearer token authentication.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) Klaus Kupferschmid. All rights reserved.
Package Details
Author(s)
- Klaus Kupferschmid
Tags
HubSpot CRM Deals REST PowerShell
Functions
Get-HubspotConfiguration Set-HubspotConfiguration Set-HubspotAccessToken Invoke-HubspotRest Get-HubspotDeal Get-HubspotDealDetails Get-HubspotDeals Search-HubspotDeals New-HubspotDeal Set-HubspotDeal Remove-HubspotDeal Get-HubspotOwner Get-HubspotDealCompanies Set-HubspotDealPrimaryCompany Get-HubspotCompany Get-HubspotProperty New-HubspotProperty Add-HubspotPropertyOption Remove-HubspotDealCompany Get-HubspotContact Get-HubspotDealContacts Add-HubspotDealContact Remove-HubspotDealContact
Dependencies
-
- BetterCredentials (>= 4.5.0)
Release Notes
0.5.1: HTTP 429 waits for Retry-After or the 10 s rate-limit window instead of a short backoff. 0.5.0: New Get-HubspotContact (by email, session cache), Get-HubspotDealContacts, Add-HubspotDealContact, Remove-HubspotDealContact; New-HubspotDeal -ContactId; request bodies that are one-element arrays are sent as JSON arrays. 0.4.3: Examples, README and tests use placeholder names, e-mail addresses and IDs. 0.4.2: Add-HubspotPropertyOption -UpdateLabel renames existing options. 0.4.1: New Remove-HubspotDealCompany. 0.4.0: Search-HubspotDeals -Operator IN/NOT_IN with -Values, -SortProperty/-SortDescending; new Get-HubspotProperty, New-HubspotProperty, Add-HubspotPropertyOption. 0.3.1: New Get-HubspotCompany (returns $null when the company does not exist). 0.3.0: Migrates all endpoints to date-based HubSpot API version 2026-09 (configurable via -ApiVersion); fixes Windows PowerShell 5.1 (System.Web, json depth); Get-/Set-HubspotDeal -IdProperty; Search-HubspotDeals -Operator (EQ, HAS_PROPERTY, ...); typed write conversion for date/datetime/bool/number/multi-select; date/datetime values read consistently as UTC; new Get-HubspotOwner, Get-HubspotDealCompanies, Set-HubspotDealPrimaryCompany; New-HubspotDeal -PrimaryCompanyId. 0.1.3: Stage/owner display resolution, auth retry, scope-aware warnings, -AllProperties, extended Get-Help examples.
FileList
- InvokeHubspot.nuspec
- InvokeHubspot.psm1
- README.md
- InvokeHubspot.psd1
- Tests\InvokeHubspot.Tests.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.5.1 (current version) | 12 | 11/11/2026 |
| 0.5.0 | 16 | 11/3/2026 |
| 0.4.3 | 29 | 10/7/2026 |