<?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 How to retrieve all contact's communication history with the API? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-all-contact-s-communication-history-with-the-API/m-p/568550#M50633</link>
    <description>&lt;P&gt;&lt;FONT size="5"&gt;Can I use the API to retrieve all the contact's communication history?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have an external website and use HubSpot. We wish to display the user history of his communications with us, including:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Chat&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Is there any API to receive history by contact email?&lt;/P&gt;&lt;P&gt;I know I can identify the user and all his conversations will appear in the chat widget, but we are also looking for an API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Tickets&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Is there any API I can use to retrieve all the tickets of contact, by email or contact id?&lt;/P&gt;&lt;P&gt;I can&amp;nbsp;list associations of the contact by type “ticket” and then get each ticket in a separate call, but I'm looking to make it more efficient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Marketing Emails:&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;Is there any API to get a list of all marketing and automation emails sent to a contact by id or email?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Sale / Support Emails:&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;Is there any API to get a list of all emails sent to a contact by id or email?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While it's not necessary to get all the information for every communication type, we wish to display an overview of the interactions the user has had with us.&lt;/P&gt;&lt;P&gt;Do you have a recommendation on how can we achieve it?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 13:47:56 GMT</pubDate>
    <dc:creator>Ran-ST</dc:creator>
    <dc:date>2022-02-03T13:47:56Z</dc:date>
  </channel>
</rss>

