HubSpot · Arazzo Workflow
HubSpot OAuth Token Lifecycle
Version 1.0.0
Exchange an authorization code for tokens, refresh the access token, then read its metadata.
View Spec
View on GitHub
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSalesArazzoWorkflows
Provider
Workflows
oauth-token-lifecycle
Exchange a code for tokens, refresh, then inspect the access token metadata.
Performs the authorization_code grant to obtain initial tokens, performs the refresh_token grant to rotate the access token, and reads the resulting access token's metadata.
1
exchangeCode
createOrRefreshAccessToken
Exchange the authorization code for an access token and refresh token using the authorization_code grant.
2
refreshToken
createOrRefreshAccessToken
Use the refresh token from the initial exchange to obtain a fresh access token via the refresh_token grant.
3
getTokenInfo
getAccessTokenMetadata
Retrieve metadata for the refreshed access token to confirm its granted scopes and time-to-expiry.