For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Hubspot

OAuth app properties

Property
Value

Multi-tenant

Conditional. An app with marketplace distribution on the HubSpot Developer Platform installs in at most 25 HubSpot accounts until its Marketplace listing is approved. Legacy public apps (created before 2026-06-23) get the same cap when migrated.

Vendor review

Required for more than 25 accounts: a HubSpot Marketplace listing, reviewed by the Ecosystem Quality team. It needs at least 3 active installs in unaffiliated production accounts, OAuth as the only authorization method and the Technology Partner Program Agreement.

Review time

First feedback within 10 business days; the whole review up to 60 days after feedback.

Users before review

25 HubSpot accounts; developer test accounts do not count. Until you sign HubSpot's Acceptable Use Policy, only developer test accounts.

App owner

A HubSpot developer account.

Regions

Not published. The connector calls api.hubapi.com for every account.

Client secret

No expiry documented. The same secret verifies webhook signatures, so after rotating it update the Backoffice too (see Request signatures).

Rate limits

110 requests per 10 seconds per installed HubSpot account (CRM search excluded). The API limit increase add-on does not raise it.

Checked

2026-11-13

Limitations

  • Without a Marketplace listing, the 26th HubSpot account cannot install the app. Private distribution is limited to 10 allowlisted accounts.

  • Users see an "unverified domain" warning on install until you verify the app's domain or the app is listed.

  • Every scope the connector requests must be configured on the app, otherwise the authorization fails (see the scope list below).

  • Legacy public apps and the /v1/–/v3/ APIs become unsupported, with enforcement in September 2027. Legacy apps must move to the projects framework to stay listed.

Register OAuth2 app

You need to create a developer account first (more about different Hubspot accounts can be found herehttps://developers.hubspot.com/docs/api/account-types)

Create a new application.

In order to get rid of a warning that your users will see before installing Hubspot module, you have to verify your identity as an app provider.

You can manage the Contact & Support settings.

Or skip for now.

Set the application name, logo, and description.

Go to the Auth tab. It shows the app ID, client ID and client secret; they go into the Backoffice, see Backoffice configuration.

Go back to Hubspot and set the redirect URL, replace acme.com with your domain and keep the suffix /auth/hubspot/callback

Adding scopes.

The HubSpot connector (bundle 4.8.0+) requests the following scopes in the authorization URL:

All of them must be added to the app, otherwise the authorization fails on an unconfigured scope.

Prefer the "Conditionally required" bucket over "Required" for every scope (except oauth, which HubSpot manages itself). HubSpot validates the authorization URL against the app's scope configuration in both directions: a Required scope must appear in every authorization URL, while a scope marked Optional must not appear in the scope parameter at all. Conditionally required scopes are the flexible middle ground — they may be included in the scope parameter but do not have to be, so older connector versions (or other Appmixer instances sharing the app) that request fewer scopes keep working, and adding a new scope in a future connector release does not break existing deployments.

Hit Save.

One more thing you will need is the HubSpot developer API key: go back to the Apps page and hit the Get HubSpot API key button (in the newer developer account UI the key is in the developer overview).

Copy the generated key; it goes into the Backoffice as apiKey, see Backoffice configuration.

Webhooks

The triggers New Contact, Updated Contact, Contact Property Changed, Deleted Contact, New Deal and Updated Deal receive events through the app's webhooks. New Contact In List and Form Submission poll the API and need no webhook.

Target URL

Set the app's webhook target URL (the app's Webhooks settings) to your Appmixer API URL followed by /plugins/appmixer/hubspot/events, for example https://api.acme.com/plugins/appmixer/hubspot/events.

If the app has no target URL yet, the connector sets it when a trigger starts for the first time — that first start still fails, start the flow again. A target URL that points elsewhere is never overwritten: the triggers then fail to start with HubSpot webhook not configured properly, wrong target URL.

Leave Use expanded object support turned off. The connector works with the classic contact.* and deal.* subscription types.

Request signatures

Since bundle 4.9.1 the /plugins/appmixer/hubspot/events route accepts only requests signed by HubSpot. It checks the X-HubSpot-Signature-v3 header against the clientSecret from the Hubspot configuration in the Backoffice and rejects requests older than 5 minutes. Requests without a valid signature are answered with 401 and trigger no flow.

  • The clientSecret in the Backoffice must be the secret of the app that sends the webhooks. If you rotate the secret in HubSpot, update the Backoffice configuration too. Otherwise the triggers stop receiving events.

  • HubSpot signs the full target URL it calls. Use your public Appmixer API URL as the target URL, exactly as described above, with the same scheme and host and no extra path or trailing slash. If a proxy sits in front of the Appmixer API, it must pass the original Host (or X-Forwarded-Host and X-Forwarded-Proto) headers through.

  • A rejected request is logged as hubspot-plugin-route-webhook-invalid-signature, hubspot-plugin-route-webhook-missing-signature, hubspot-plugin-route-webhook-expired-timestamp or hubspot-plugin-route-webhook-missing-client-secret.

Subscriptions

HubSpot sends an event only for a subscribed event type, and a property change only for a subscribed property — there is no "any property" subscription. Subscriptions belong to the app and apply to every portal that installed it; one app can have at most 1000 of them.

When a trigger starts, the connector creates the subscriptions it needs and turns back on the ones that were switched off (bundle 4.9.0+):

  • New Contact — contact.creation

  • Deleted Contact — contact.deletion

  • Updated Contact — contact.propertyChange for email, firstname, lastname, phone, website, company, address, city, state and zip

  • Contact Property Changed — contact.propertyChange for the property selected in the trigger (custom properties included)

  • New Deal — deal.creation

  • Updated Deal — deal.propertyChange for dealname, dealstage, pipeline, hubspot_owner_id, closedate and amount

Updated Contact and Updated Deal fire on a change of any subscribed property. To make them react to another property — a custom property, or a standard property outside the lists above — add a Property changed subscription for it in the app's webhook settings. Use the property's internal name (not its label) and make sure the subscription is active. Because subscriptions are shared by all portals, a subscription for a standard HubSpot property makes Updated Contact / Updated Deal fire on that property for every user of the app. To react to a single property only, use Contact Property Changed.

Creating a record in HubSpot also sends property-change events for its initial values. Updated Contact and Updated Deal ignore them reliably only while the creation subscriptions (contact.creation, deal.creation) are active — keep those on even if you do not use New Contact or New Deal.

Appmixer with AuthHub

With AuthHub, the Appmixer instances share the AuthHub's HubSpot app and the connector does not manage that app's subscriptions — the instance's HubSpot configuration needs no appId or apiKey. Whoever administers the app adds and activates the subscriptions — including Property changed subscriptions for custom properties — in its webhook settings. The app's target URL points at the AuthHub's /plugins/appmixer/hubspot/events route, so the AuthHub verifies the request signatures: its Hubspot configuration must hold the app's clientSecret. Contact Property Changed then only filters the events; it cannot add a subscription for its property.

Hubspot App verification

Your domain is unverified Until your domain is set and verified, users will see a warning when installing your app.

Users will encounter this warning during the installation or management of the app. To eliminate this warning, the verification process must be completed. HubSpot mandates the configuration of a DNS TXT record as the sole method for verification.

To configure and verify a custom HubSpot app for a hosted instance of Appmixer, such as ACME.appmixer.cloud, you will need to establish a custom domain for the Appmixer instance (for example, ACME.com). Without this custom domain, domain verification will not be possible.

Backoffice configuration

Configuration ID: appmixer:hubspot (Backoffice → Configuration; see Connector Configuration for how a configuration is created and how its keys reach the connector).

appmixer:hubspot
  • clientId — Client ID from the app's Auth tab. Not needed when HubSpot is authenticated through the Appmixer Auth Hub.

  • clientSecret — Client secret from the app's Auth tab. It also verifies the signature of the webhook requests (see Request signatures), so after rotating the secret in HubSpot, update it here too. With the Auth Hub it belongs to the hub's appmixer:hubspot configuration, not to the instance.

  • appId — The app ID, shown on the app's Auth tab (it is also the number in the app's URL). Required for the webhook triggers. Not needed with the Auth Hub.

  • apiKey — The HubSpot developer API key (see above). Required for the webhook triggers. Not needed with the Auth Hub.

  • pollIntervalMs — Optional. How often, in milliseconds, New Contact In List and Form Submission poll HubSpot. Default 300000 (5 minutes).

  • objectPropertiesCacheTTL — Optional. How long, in milliseconds, the list of contact, company and deal properties (used in the inspector and to build the outputs) is cached. Default 60000 (1 minute).

  • outputFilePrefix — Optional. File name prefix of the CSV file that Find Notes, Find Companies, Find Contacts and List Contacts create when their output is set to a file. Default hubspot-objects-export for Find Notes and Find Companies, hubspot-export for Find Contacts and List Contacts.

  • eventCacheTTL — Optional. How long, in milliseconds, New Contact, Updated Contact, Contact Property Changed, New Deal and Updated Deal remember an object they have just emitted, to drop duplicate webhook events. Default 5000.

  • webhookTargetURLCacheTTL — Optional. How long, in milliseconds, a trigger caches the app's webhook target URL after checking it in HubSpot. Default 3600000 (1 hour).

  • webhookTriggerDelayMs — Optional. How long, in milliseconds, the webhook route waits before it passes received events to the triggers. Default 5000.

  • webhookCacheClearMs — Optional. How long, in milliseconds, the webhook route remembers a just-created object, so that Updated Contact and Updated Deal ignore the property changes sent with the creation. Default 10000. Keep it longer than webhookTriggerDelayMs.

  • requireListenerAccessToken — Optional. Set to true to reject triggers that register without an access token. Triggers started by older connector versions do so; by default they are accepted with a warning in the log.

The webhook route reads clientSecret, webhookTriggerDelayMs, webhookCacheClearMs and requireListenerAccessToken. With the Auth Hub the route runs on the hub, so these keys belong to the hub's configuration.

appId and apiKey are required for the webhook triggers when you use your own HubSpot app — without them the triggers do not start (HubSpot appId or apiKey missing in configuration). The connector uses them to manage the app's webhook settings and subscriptions (see Webhooks); with the Auth Hub they are not needed. The developer API key belongs to the HubSpot developer account, not to a customer portal, and can manage every app in that account — keep it only in the Backoffice configuration.

The same keys can be set with the CLI (-u updates the existing configuration instead of creating it):

Last updated

Was this helpful?