Get all activities of Contact using API

Highlighted
Regular Contributor | Gold Partner

I need to get all contact activity.

 

Ads Activity

CTA

Marketing Email

Page VIews

Form Submissions 

 

Any way to get all?

Reply
0 Upvotes
3 Replies 3
Community Manager

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

Reply
0 Upvotes
Regular Contributor | Gold Partner

Does the Analytics API pull pages views and associate to a contact id? In regards to number 3? @WendyGoh 

Reply
0 Upvotes
Community Manager

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.

Reply
0 Upvotes