Your privacy choices

We use necessary cookies, and others only if you allow them. You can change your mind at any time.

Set up HubSpot

alpha

What a connection holds

FieldSecretWhere it comes from
App client ID
clientId
Not secretFrom your HubSpot app's Auth tab. ONE value for the whole installation -- the same app serves every connected account.
App client secret
clientSecret
SecretFrom the same Auth tab. Used to exchange the code and to refresh; never sent with an API request.
Access token
accessToken
SecretObtained by the host's OAuth exchange, PER CONNECTED ACCOUNT. Expires after 30 minutes -- a host that does not refresh will work all afternoon and be broken by morning. This connector's scope list covers every action, read and write, and is not what your consent URL must ask for: HubSpot requires your app's required scopes in the authorize URL's `scope` parameter and shows an error otherwise, so build it from your own app's configuration. A read-only host asks for its read scopes only.
Refresh token (optional)
refreshToken
SecretAlso per account. Does not expire, so it is the credential worth protecting most: it mints access tokens indefinitely until the install is revoked.

Links

All connectors