APIs & Integrations

srozentsvayg
Member

How to Extract data from custom report by api call

Hey

I have one custom report and i would like to extract whole data from it with fields by api GET call. I didnt find any ducomentation  for it . can any one provide more details how to slove it?

 

 
 
 
 
 
0 Upvotes
3 Replies 3
webdew
Guide | Diamond Partner
Guide | Diamond Partner

How to Extract data from custom report by api call

Hi @srozentsvayg 

Please use this api for reports fetch data.

https://api.hubapi.com/analytics/v2/reports/<breakdown_by>/<time_period>?hapikey=demo&start=20180101...

Format Examples :

breakdown_by like => totals, sessions, sources, geolocation etc
time_period like => total, daily, weekly, monthly etc
Start date format => YYYYMMDD
End date format => YYYYMMDD

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards.

srozentsvayg
Member

How to Extract data from custom report by api call

i am not able to find support to pull data from custom reports by using analytics . or i am missing somting?

 for example i have location of the report

https://app.hubspot.com/reports-list/<account_id>/77842715/

77842715 = is id for report , i cant find parameters where to pass it trougth analytics api 

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

How to Extract data from custom report by api call

Hi @srozentsvayg 

Not sure if this is the direction you are looking to go, but here are the endpoint for reports

@RMones might have some more thoughts on this.

0 Upvotes