Skip to content
Book a build

How do I find my HubSpot portal ID (Hub ID)?

Your HubSpot portal ID is the same number HubSpot calls the Hub ID. Click your account name in the top right of HubSpot: under Account, the dropdown shows the account name and its Hub ID. It's also the number in the URL while you're signed in, as in app.hubspot.com/contacts/12345678/. Developer payloads label it portalId.

On this page

What HubSpot supports natively

HubSpot shows the ID in two places:

WhereHowNotes
Account menuClick your account name in the top right. Under Account you see the account name and its unique Hub IDHover over it to see your recent accounts
Browser URLThe number after the tool name, e.g. app.hubspot.com/contacts/12345678/Works on almost every HubSpot screen

Names for the same number vary: HubSpot’s help articles say Hub ID or numeric account identifier, many integrations ask for a portal ID, and developer payloads such as webhook events use portalId. They’re all the same identifier.

How to get your portal ID and check it’s the right one

  1. Sign in and open any HubSpot tool, such as Contacts.
  2. Read the number in the URL, or click your account name and read the Hub ID under Account.
  3. If you have several accounts, hover over the account name to see your recent accounts, or open All accounts. You can only switch to accounts where your email is a user.
  4. Confirm before you share it. Agencies and admins with many portals, sandboxes and test accounts often copy the wrong ID. Match the account name, the ID and, for a sandbox, the sandbox label.
  5. Set a default account if you mostly work in one: from All accounts, hover over it and choose Set as default.

Common mistakes

  • Sending the sandbox ID instead of production. Check the account name before you copy the number.
  • Confusing the Hub ID with an app ID or a record ID. The Hub ID identifies the account. Record IDs identify single contacts, companies or deals, and app IDs identify an integration.
  • Assuming one login means one portal. A user can belong to many accounts with the same email; always check the account menu.

When you’ll need it

  • Support tickets with HubSpot or an app vendor, so they look at the right account.
  • Connecting an integration that asks which account to install into.
  • Developer work, where API and webhook payloads identify the account by this number.
  • Agency handovers, where a list of client names alone is ambiguous. Record the name and the Hub ID together.

Where Jetstack AI fits

When you connect a portal to Jetstack AI, its Client Accounts view lists each connected portal with its Hub ID and plan tier, so you can confirm you’re about to audit or deploy to the right account. See the dashboard documentation and Portal Audit.

Sources

Checked October 29, 2026. HubSpot changes its products often; tell us at team@jetstack.ai if something here is out of date.

HubSpot admin

See what needs work before you change it.

A read-only Portal Audit and Workflow Audit score the portal, trace dependencies and turn findings into a branded report.

Explore Portal Audit

HubSpot admin

Related questions.

How do I find my HubSpot portal ID (Hub ID)?

Your HubSpot portal ID is the same number HubSpot calls the Hub ID. Click your account name in the top right of HubSpot: under Account, the dropdown shows the account name and its Hub ID. It's also the number in the URL while you're signed in, as in app.hubspot.com/contacts/12345678/. Developer payloads label it portalId.

Is the Hub ID the same as the portal ID?

Yes. HubSpot's help articles call it the Hub ID or account identifier; older tools, integrations and API payloads (for example webhook events) call the same number portalId.

Does a sandbox have the same Hub ID as production?

No. A sandbox is a separate HubSpot account with its own Hub ID. When a vendor asks for your ID, check whether they need the sandbox or the production account.

Why does an app ask for my Hub ID?

Support teams and integrations use it to identify the exact account, since names aren't unique. It isn't a password; it's fine to share with a vendor you're working with.