<?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 Checking sent email status in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Checking-sent-email-status/m-p/842948#M67058</link>
    <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I'd like to check the status of sent transactional email after it has been sent out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm testing "Query the status of an email" (&lt;A href="https://developers.hubspot.com/docs/api/marketing/transactional-emails" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/marketing/transactional-emails&lt;/A&gt;) but I'm noticing that hard bounces are marked as SENT with this API (something I'd like to catch as well), while they're marked correctly as bounced within Hubspot interface for given contact.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an API I can use to retrieve the information about bounces as well?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 09:55:36 GMT</pubDate>
    <dc:creator>pawel-trauth</dc:creator>
    <dc:date>2023-08-31T09:55:36Z</dc:date>
    <item>
      <title>Checking sent email status</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Checking-sent-email-status/m-p/842948#M67058</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I'd like to check the status of sent transactional email after it has been sent out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm testing "Query the status of an email" (&lt;A href="https://developers.hubspot.com/docs/api/marketing/transactional-emails" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/marketing/transactional-emails&lt;/A&gt;) but I'm noticing that hard bounces are marked as SENT with this API (something I'd like to catch as well), while they're marked correctly as bounced within Hubspot interface for given contact.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an API I can use to retrieve the information about bounces as well?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:55:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Checking-sent-email-status/m-p/842948#M67058</guid>
      <dc:creator>pawel-trauth</dc:creator>
      <dc:date>2023-08-31T09:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Checking sent email status</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Checking-sent-email-status/m-p/843484#M67099</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/82212"&gt;@pawel-trauth&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for the interesting question. Can you share an example response? Does it include an&amp;nbsp;&lt;SPAN&gt;EventId?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If so, you can look at the&amp;nbsp;E&lt;A href="https://legacydocs.hubspot.com/docs/methods/email/email_events_overview" target="_blank" rel="noopener"&gt;mail Events API&lt;/A&gt; as it will return delivery details.&amp;nbsp;The Email Events API allows you to get information about email events such as sent, delivered, opened, clicked, bounced, etc., which might help you in getting the detailed status of your emails.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Full disclosure, I haven't tested this endpoint with Transactional Emails specifically. If it doesn't work, please let me know, and we will get more details or find an alternative if possible.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jaycee&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 07:25:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Checking-sent-email-status/m-p/843484#M67099</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-09-01T07:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Checking sent email status</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Checking-sent-email-status/m-p/843574#M67106</link>
      <description>&lt;P&gt;Hello Jaycee!&lt;BR /&gt;&lt;BR /&gt;Thanks for prompt response - your answer helped me achieve what I'm after. For anybody googling on how to obtain the information in OP:&lt;/P&gt;&lt;P&gt;- obtain StatusId of email sent via&amp;nbsp;Single-Send API&lt;/P&gt;&lt;P data-unlink="true"&gt;- make a request to https://api.hubapi.com/marketing/v3/email/send-statuses/{statusId}&amp;nbsp; - given COMPLETE status an EventId will be returned&lt;/P&gt;&lt;P&gt;- make a request to &lt;A href="http://api.hubapi.com" target="_blank"&gt;http://api.hubapi.com&lt;/A&gt;&lt;SPAN&gt;/email/public/v1/events/?recipient={email}&amp;amp;startTimestamp={timestamp of sending email}&amp;amp;endTimestamp={timestamp of now} - this will result in all events since sent email and now&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- filter obtained events by&amp;nbsp;sentBy property of given event using EventId - this will result in all events for given recipient in response to initial send&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At this point we can look at the history of events and check if any of them has&amp;nbsp;DROPPED or BOUNCED type (this represents status of delivery). Data obtained from send-statuses endpoint gives us information about status of sending - status (this represents status of event itself) and sendResult (this respresents status of sending)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 10:49:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Checking-sent-email-status/m-p/843574#M67106</guid>
      <dc:creator>pawel-trauth</dc:creator>
      <dc:date>2023-09-01T10:49:54Z</dc:date>
    </item>
  </channel>
</rss>

