Skip to main content
POST
Create HubSpot connection session

Authorizations

Authorization
string
header
required

OAuth2 Authorization Code flow

Query Parameters

portalId
string
required
hubspotUserId
string
userId
string
appId
string
userEmail
string

Body

application/json
portalId
string
hubspotUserId
string

Response

201 - application/json
connected
boolean
required
cnpjPropertyName
string
Example:

"cnpj"

cnpjPropertyNames
object
connectUrl
string
Example:

"https://dash.base39.com.br/oauth?client_id=hubspot"

properties
object[]
propertiesError
string
Example:

"HubSpot OAuth access token is not available for this portal"