H

HubSpot Agent CLI

CLI discovered

Details
Command
hubspot
Docs
https://developers.hubspot.com/docs/developer-tooling/local-development/agent-cli/guide
Authentication
HubSpot Agent CLI OAuth login oauth2 discovered $ hubspot auth login

Acquired by the CLI — running hubspot auth login opens the auth flow and stores the credential.

HubSpot service key bearer discovered Get token ↗
env HUBSPOT_ACCESS_TOKEN

In your HubSpot account, go to Service keys, create a service key under Development → Keys → Service keys, assign the needed scopes, then copy the key. Use it as Authorization: Bearer ... for REST API requests; in the Agent CLI's admin mode, set it as HUBSPOT_ACCESS_TOKEN.