TokenResponse is a JSON Structure definition published by HubSpot, describing 5 properties, of which 4 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
{
"type": "object",
"description": "Response containing the new access token and related information",
"name": "TokenResponse",
"properties": {
"access_token": {
"type": "string",
"description": "The new access token"
},
"token_type": {
"type": "string",
"description": "The type of token (always 'bearer')"
},
"expires_in": {
"type": "integer",
"description": "Number of seconds until the access token expires"
},
"refresh_token": {
"type": "string",
"description": "The refresh token for obtaining new access tokens"
},
"id_token": {
"type": "string",
"description": "The ID token (only returned if openid scope was requested)"
}
},
"required": [
"access_token",
"token_type",
"expires_in",
"refresh_token"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.