APIs & Integrations

Swink
Member

hubspot marketing professional API access

When doing an API requests i get this response:

Only HubSpot Enterprise customers may use a HAPIkey to access this resource.

 

While the API referrence says it can be accessed via  hubspot marketing pro accounts.

https://developers.hubspot.com/docs/methods/analytics/analytics-overview

 

My request is this:
https://api.hubapi.com/analytics/v2/reports/landing-pages/total?hapikey=

but all reports requests have the same error.

 

Why does the referrence say i can get access using hubspot marketing pro. Is there any way i can?

0 Upvotes
2 Replies 2
lakoller
Participant

hubspot marketing professional API access

I know that this is an old request, but I am wondering (similarly)... is there a way to get the underlying data that makes up the landing page analytics (without using the analytics API) so that I can create my own analytics?  And if so, what API would I use, and can I get it using an API key?

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

hubspot marketing professional API access

Hey @Swink ,

 

The Analytics API is a bit unique; profesional tier accounts do have API access, but only for integrations using OAuth for authentication. Accessing the Analytics API using an API key is only supported for enterprise tier accounts.

 

Check out our OAuth docs here: https://developers.hubspot.com/docs/methods/oauth2/oauth2-overview

0 Upvotes