APIs & Integrations

AndreaKpr
Member

Api Get recenlty update contacs & eMail marketing

Hi dear team.


I have a question about this api : https://developers.hubspot.com/docs/methods/contacts/get_recently_created_contacts & FormSubmitted & eMail marketing.


I'm developing an integration with HibSpot where the goal is download the new contact created on HubSpot and the relevant news about form-submitted & eMail marketing.


For which I would like to download if the contact has submitted a form (If so, which one) and if a newsletter has been sent to the contact (If so, which one) and if there were clicks , opens bounds events.


I see that when call che API : https://developers.hubspot.com/docs/methods/contacts/get_recently_created_contacts in the respose jSon i find the "form-submissions" information. But i dont'find the "eMail Marketing" event.


It's possible to receive "eMail Marketing" data in this API : https://developers.hubspot.com/docs/methods/contacts/get_recently_created_contacts ?


if it were not possible how can I get email marketing data for the contacts ?


Very thank

0 Upvotes
3 Replies 3
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Api Get recenlty update contacs & eMail marketing

Hey @AndreaKpr ,

 

It's not possible to get marketing email events using the "Get recently created contacts" endpoint. That data actually isn't accessible via the Contacts API; you'll need to use the Email Events API to pull marketing email information (sends, opens, clicks, etc). Here's the overview doc:

 

https://developers.hubspot.com/docs/methods/email/email_events_overview

0 Upvotes
AndreaKpr
Member

Api Get recenlty update contacs & eMail marketing

Hey @Derek_Gervais, thank for the reaply!

 

so what do you advise me to be able to retrieve the list of activities carried out on a contact, as in the image below ? :

 

Example : Time line activityExample : Time line activity

I hope somehow it's possible ...


thank you very much for your cooperation.

 

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Api Get recenlty update contacs & eMail marketing

Hey @AndreaKpr ,

 

Most of that information is only accessible via a dedicated API, though you can get form submission information from the Contacts API:

0 Upvotes