Oct 16, 2019 11:55 AM - edited Oct 16, 2019 11:59 AM
I need to get all contact activity.
Ads Activity
CTA
Marketing Email
Page VIews
Form Submissions
Any way to get all?
Jan 20, 2022 3:31 PM - edited Jan 20, 2022 3:57 PM
Was there any updates here regarding a single API on Contact Activity? this is a key feature for using HubSpot as a service, understanding our contact behaviour activities...
Oct 16, 2019 11:37 PM
Hi @mark_vande_haar,
I hope all is well with you 😄
While there isn't an endpoint that allows you to retrieve all of the contact activity at one go, Connor mentioned a few endpoints here: https://community.hubspot.com/t5/APIs-Integrations/How-to-get-activity-stats-and-details-for-contact... that you can explore to gather those contact activity.
In short, you can:
1. Retrieve all your engagements such as notes, meetings, calls, tasks and 1:1 emails using the Get all engagements
2. For marketing emails events, you can use this endpoint: Get email events | Email Events API
3. Analytics breakdown, you can use this endpoint: Analytics API Overview
4. Form submission data: Get submissions for a form
Oct 17, 2019 10:05 AM
Does the Analytics API pull pages views and associate to a contact id? In regards to number 3? @WendyGoh
Oct 20, 2019 11:36 PM
Hi @mark_vande_haar,
The Analytics API would return the total/summarize number and so it wouldn't return the associated contact id. The contact api - Get a contact by its vid will return the page views and site views count.