<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reading email history of contacts in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/452808#M23847</link>
    <description>&lt;P&gt;I've hit a bit of a roadblock, I can get the latest email using the engagements API as mentioned, and can see various data about it like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;trackerKey&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;messageId&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;threadId&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;uid&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I've tried pushing these by the&amp;nbsp;/email/public/v1/events/ endpoint but don't get anything back.Is there a way to specifically query the email and retrieve the counts of Read, Opens and Clicks?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 29 Jun 2021 18:12:52 GMT</pubDate>
    <dc:creator>tonygoodchild</dc:creator>
    <dc:date>2021-06-29T18:12:52Z</dc:date>
    <item>
      <title>Reading email history of contacts</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/447504#M23631</link>
      <description>&lt;P&gt;I'm trying to find a suitable API to read the status of emails sent to a contact by a sales person.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This isn't for marketing email sent from marketing hub, but a single email sent from a salesperson through the Contact page in Hubspot.&lt;/P&gt;&lt;P&gt;I want to be able to read the history of emails and see how may times they have been clicked and read.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a suitable way to accomplish this?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 12:59:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/447504#M23631</guid>
      <dc:creator>tonygoodchild</dc:creator>
      <dc:date>2021-06-15T12:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading email history of contacts</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/447629#M23641</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72625"&gt;@tonygoodchild&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will have to work with a couple different endpoints to get these data.&lt;/P&gt;
&lt;P&gt;1:&amp;nbsp; for the email engagement, you will need to query the&lt;A href="https://legacydocs.hubspot.com/docs/methods/engagements/engagements-overview?_ga=2.232824535.851802143.1623675863-1416408460.1622745249" target="_blank" rel="noopener"&gt; engagements endpoints&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2:&amp;nbsp; for clicks, there is not a good solution (that I am aware of).&amp;nbsp; You will have to look at the &lt;A href="https://developers.hubspot.com/docs/api/crm/contacts" target="_blank" rel="noopener"&gt;Contact Object&lt;/A&gt; and request values for this properties:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_rich_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="rich_text"&gt;&lt;STRONG&gt;Recent sales email clicked date (&lt;EM&gt;Sales Hub Professional&lt;/EM&gt;&amp;nbsp;and&amp;nbsp;&lt;EM&gt;Enterprise&lt;/EM&gt; only&lt;I&gt;)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_rich_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="rich_text"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Recent sales email open date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_rich_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="rich_text"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Recent sales email replied date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_rich_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="rich_text"&gt;You could set up &lt;A href="https://developers.hubspot.com/docs/api/webhooks" target="_blank" rel="noopener"&gt;webhooks&lt;/A&gt; to subscribe to these changes and keep a count in your app that way...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_rich_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="rich_text"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11945"&gt;@lynton&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/153634"&gt;@tominal&lt;/a&gt; any thoughts?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 16:34:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/447629#M23641</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-06-15T16:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reading email history of contacts</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/449408#M23713</link>
      <description>&lt;P&gt;Awesome, thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 09:39:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/449408#M23713</guid>
      <dc:creator>tonygoodchild</dc:creator>
      <dc:date>2021-06-21T09:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reading email history of contacts</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/452808#M23847</link>
      <description>&lt;P&gt;I've hit a bit of a roadblock, I can get the latest email using the engagements API as mentioned, and can see various data about it like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;trackerKey&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;messageId&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;threadId&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;uid&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I've tried pushing these by the&amp;nbsp;/email/public/v1/events/ endpoint but don't get anything back.Is there a way to specifically query the email and retrieve the counts of Read, Opens and Clicks?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Jun 2021 18:12:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/452808#M23847</guid>
      <dc:creator>tonygoodchild</dc:creator>
      <dc:date>2021-06-29T18:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading email history of contacts</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/453426#M23874</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72625"&gt;@tonygoodchild&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Have you explored &lt;A href="https://legacydocs.hubspot.com/docs/methods/cms_email/get-the-statistics-for-a-marketing-email" target="_blank" rel="noopener"&gt;this endpoint&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:22:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Reading-email-history-of-contacts/m-p/453426#M23874</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-06-30T17:22:41Z</dc:date>
    </item>
  </channel>
</rss>

