Setup
Create a service key as HubSpot setup describes.SKILL.md
The SKILL.md an agent reads withhubspot installed.
- Rendered
- Raw
CommandshubspotEach entry is one subcommand’s complete usage.
--help shows the same options with longer descriptions.
[ ] optional · (repeat) give the flag once per value · =v default · a|b choices · json one quoted JSON value, its keys after the entry when the schema names them.
Flags are spelled exactly as shown; no abbreviations. Quote a value that contains spaces.hubspotSupported commands
Runhubspot <command> --help for the supported flags and operands.
This list is generated from Mirage’s registered command tree.
Usage
Find records
--filter are joined by AND; a record that meets any one
--filter is found.
Rows print as JSONL.
--format json adds the cursor of the next page at
meta.next, for --after; --format table prints columns.
Change records
--dry-run first. Its result holds the digest to pass back,
with the record ID, or the number of records, as --confirm. The digest stays
valid for at least five minutes and only for the same change.
create, update and associations create also read one JSON object per line
from stdin, and print one result per line.
Behavior
- The install carries the account, so
hubspot auth,whoamiandupgradedo not exist. Other commands of HubSpot’s CLI, such asdelete,workflowsandreports, are not supported. - Bad flags and malformed input exit 2. A refused call, a missing record and a partly failed write exit 1.
- Reads retry
429,502,503and504; writes retry only429, to avoid repeating a write that may already have succeeded.
License
See compatibility and licenses.