hubspot.account API
Connect a HubSpot portal to this workspace: returns a hosted link where someone with the right to install apps in that portal signs in to HubSpot, picks the portal and approves access (no password or token ever reaches RouterGrowth), then reports the connection's status. Give each connection a name: a workspace can hold several, one per portal, which is how an agency writes to each client's HubSpot. Without a name it reports what is already connected instead of starting a new connection. With disconnect:true it removes the named connection.
HubSpot:
all inputs ✓
✓ marks a combination proven with a real provider call. Others are wired and unit-tested; their first live run verifies them.
| Provider | Status |
|---|---|
HubSpot |
live |
Unit: per_call · unmatched results billed: no
Free: connecting, status checks, reconnect links and disconnecting cost nothing, and a connection has no monthly fee.
The exact quote is returned by /v1/inspect before every call and held with headroom on execution. The quote is the price floor: if the provider's actual cost overruns it, the run bills the overrun at the same rate, never above the hold. The unused part of every hold is released.
curl https://api.routergrowth.com/v1/run \ -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \ -d '{ "capability": "hubspot.account", "input": { }, "routing": {"provider": "auto"} }'
{
"properties": {
"disconnect": {
"default": false,
"description": "Remove the named connection (or the only one when no name is given). Contacts already written stay in HubSpot",
"type": "boolean"
},
"name": {
"description": "Label for this connection inside your workspace, e.g. \"main\" or \"client-acme\". Omit it to check what is already connected; give one to connect a new portal or to check, reconnect or disconnect that one",
"type": "string"
}
},
"type": "object"
}
name · account_id · status · connected · connect_url · portal_id · hub_domain · accounts · count · next_step