HubSpot OAuth Account
Overview
You can use this account type to establish a connection between HubSpot Snaps and HubSpot using OAuth 2.0 authentication.

Account settings
| Field/Field set | Description |
|---|---|
Label*
String |
Unique name for the account. Default value: N/A Example: HubSpot OAuth Account |
Client ID*
String |
Specify the client ID associated with your HubSpot OAuth app. Default value: N/A Example: c1a5c1750-41kk-88ba-b2l5-2283fec8g874 |
Client secret*
String |
Specify the client secret for the OAuth app. Default value: N/A Example: •••••••••••••••• |
Access token*
String |
Auto-generated after authorization. The access token for your HubSpot account. Default value: N/A |
Refresh token*
String |
Auto-generated after authorization. The refresh token for your HubSpot account. Default value: N/A |
Access token expiration*
String |
Auto-generated after authorization. The access token's expiration time in milliseconds. Default value: N/A Example: 1680682595 |
Redirect URI*
String |
Specify the Redirect URI in the following format:
Where
Requests are redirected to this URL after app access is granted. Default value: https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/hubspot Example: https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/hubspot |
Application scope*
String |
Specify the scopes set up in the HubSpot App. Separate multiple scopes with spaces. Default value: OAuth Example: OAuth |
Optional scopes
String |
Specify the optional scopes to grant access to. Separate multiple scopes with spaces. Default value: automation business-intelligence contacts content Example: automation business-intelligence contacts content |
Auto-refresh token
Checkbox |
Select this checkbox to automatically refresh the access token using the refresh token. Default value: Deselected |