For Agents
Look up the Business Units a HubSpot user belongs to, so an agent can route a marketing or CRM action to the correct brand within a multi-brand portal.
Get started with Business Units in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"list hubspot business units for user"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with Business Units API.
Retrieve every Business Unit associated with a specific HubSpot user ID
Surface brand-specific identifiers needed before sending marketing assets through the right unit
Confirm whether a user has access to more than one Business Unit before scoping a workflow
Provide Business Unit context to downstream CMS, Marketing, or CRM API calls
GET STARTED
Use for: List all Business Units assigned to a HubSpot user, Get the Business Unit details for user 12345, Check whether a HubSpot user belongs to more than one Business Unit, Retrieve the Business Unit identifier for branding a campaign
Not supported: Does not create, update, or delete Business Units, and does not return marketing assets or contacts attached to them — use for reading a user's Business Unit memberships only.
The HubSpot Business Units API exposes a single endpoint for retrieving the Business Unit records associated with a HubSpot user. Business Units allow multi-brand HubSpot accounts to segment marketing assets, forms, and tracking under separate logos and identities. This API is read-only and is typically used by agents or integrations that need to surface the correct brand context for a given user before performing a downstream action.
Validate Business Unit assignments during onboarding or permission audits
Patterns agents use Business Units API for, with concrete tasks.
★ Multi-Brand Routing
Agencies and enterprises that run several brands from one HubSpot portal need to attach each marketing asset to the correct Business Unit. The Business Units API returns the units a given user belongs to so that an integration can pre-fill brand context on forms, emails, or landing pages. The endpoint is read-only and returns the data within a single call, making it easy to embed at the start of any branded workflow.
Call GET /business-units/v3/business-units/user/{userId} for userId 12345 and return the list of Business Unit IDs and names so the agent can choose which brand to use.
Permission Audit
Operations and compliance teams periodically audit which users have access to which Business Units. This API provides a deterministic answer for a given user without requiring portal access. Combined with HubSpot's Account and Audit Logs APIs, the result feeds into governance dashboards and access reviews.
For each user ID in a CSV, call the Business Units API and write the returned unit names into a governance report.
Pre-flight Brand Context for Agents
Before an AI agent creates a blog post, sends an email, or schedules a campaign, it needs to know which Business Unit the action belongs to. Through Jentic, the agent searches for the Business Units operation, loads the schema, and executes the call against the user's HubSpot context. The single returned Business Unit ID is then passed into the next API call.
Use Jentic to search for 'list hubspot business units for user', load the operation schema, then execute it for the current user and store the primary Business Unit ID in the agent state.
1 endpoints — the hubspot business units api exposes a single endpoint for retrieving the business unit records associated with a hubspot user.
METHOD
PATH
DESCRIPTION
/business-units/v3/business-units/user/{userId}
Retrieve all Business Units associated with a specific user
/business-units/v3/business-units/user/{userId}
Retrieve all Business Units associated with a specific user
Three things that make agents converge on Jentic-routed access.
Credential isolation
HubSpot OAuth tokens and Private App keys are held in the Jentic encrypted vault (MAXsystem). The agent only receives a short-lived execution token, so the raw HubSpot secret never enters the agent's context window.
Intent-based discovery
Agents search Jentic with intents such as 'list hubspot business units for user' and Jentic returns the matching operation, its input schema, and a ready-to-call execution wrapper.
Time to first call
Direct integration: half a day to set up OAuth, scopes, and error handling. Through Jentic: under 15 minutes to search, load, and execute.
Alternatives and complements available in the Jentic catalogue.
Account Info
Returns portal-level metadata that pairs naturally with per-user Business Unit lookups
Choose Account Info when the agent needs portal currency, time zone, or hub IDs alongside Business Unit context.
CRM Owners
Lists HubSpot users (owners) whose IDs feed into the Business Units lookup
Use CRM Owners first to enumerate user IDs, then pass each one into Business Units for full coverage.
Account Audit Logs
Records changes to Business Unit assignments and other portal events
Pair with Audit Logs when the agent must explain when a user was added or removed from a Business Unit.
Specific to using Business Units API through Jentic.
What authentication does the HubSpot Business Units API use?
The Business Units API accepts HubSpot OAuth 2.0 access tokens or a Private App token sent in the Authorization header. Through Jentic, those credentials are stored in the encrypted vault and the agent only ever receives a scoped execution token.
Can I list all Business Units in a HubSpot account with this API?
No. The single endpoint GET /business-units/v3/business-units/user/{userId} only returns the Business Units associated with a specific user. To enumerate every Business Unit, iterate over user IDs from the HubSpot Owners or Account APIs and merge the results.
What are the rate limits for the HubSpot Business Units API?
It shares HubSpot's standard public API limits: 100 requests per 10 seconds for OAuth apps and 110 requests per 10 seconds for Private Apps on Pro and Enterprise tiers. Because this API has only one read endpoint, real usage almost never approaches the cap.
How do I fetch a user's Business Units through Jentic?
Run pip install jentic, then use the search query 'list hubspot business units for user', load the returned operation schema, and execute it with the userId parameter. Jentic handles the OAuth handshake and returns the parsed JSON response.
Is the HubSpot Business Units API free?
The endpoint itself is part of the HubSpot public API and incurs no extra cost, but Business Units as a feature are only available on Marketing Hub Enterprise. Calling the endpoint on a portal without the feature returns an empty array or a 403 response.