APIs & Integrations

HLu
Member

Pulling event data

Hello everyone

 

Please excuse any lack of foresight on my part but I was having a look at the docs and wanted to know if there is a way to pull event data, and what the existing "event" APIs do.

 

Specifically, for a given type of event e.g.  a contact receiving an email, a contact clicking on an ad, a contact attending an event, how can I pull a data table with;

 

- email

- vid

- event type

- event name

- campaign

- timestamp

 

It seems in Hubspot there is a separate endpoint for each event type, for example:

 

- Hubspot contact metadata is the reports/v2/events endpoint: https://legacydocs.hubspot.com/docs/methods/events/get_events

 

- Hubspot marketing events (whether a contact attends a physical or virtual event) is the Marketing API: https://developers.hubspot.com/docs/api/marketing/marketing-events

 

- People clicking on website elements is contained within Custom Behavioural Events

 

- Email events have their own endpoint

 

Can someone confirm my understanding of how to pull events is correct, i.e. different endpoint for different event "type" ? 

 

Is there a way to pull a consolidated list of events? For example, Timeline events seem as if they might be appropriate for this: https://developers.hubspot.com/docs/api/crm/timeline

 

Thank you in advance.

 

 

 

 

 

 

 

0 Upvotes
1 Reply 1
dennisedson
HubSpot Product Team
HubSpot Product Team

Pulling event data

@Bryantworks ,

Do you have any suggestions?

0 Upvotes