<?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: Idempotent processing of webhook events in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1129811#M81276</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/876765"&gt;@Jdb8&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question. I'd like to invite some of our community members who have expertise in this area to the conversation — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/630808"&gt;@james-portant&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/240111"&gt;@SNigam&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;how would you solve for this situation?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume you could do a bit of extra processing and create a unique identifier by combining multiple fields:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;eventId&lt;/LI&gt;
&lt;LI&gt;objectId&lt;/LI&gt;
&lt;LI&gt;subscriptionType&lt;/LI&gt;
&lt;LI&gt;timestamp&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;but is there a “better” way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for taking a look! — Jaycee&lt;/P&gt;</description>
    <pubDate>Mon, 31 Mar 2025 16:47:09 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2025-03-31T16:47:09Z</dc:date>
    <item>
      <title>Idempotent processing of webhook events</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1129273#M81255</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i was wondering on basis of which fields i can determine that my webhook already received an event so that i can make my consumer idempotent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not clear from the documentation (&lt;A href="https://developers.hubspot.com/docs/guides/api/app-management/webhooks" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/guides/api/app-management/webhooks&lt;/A&gt;). I thought eventId would be sufficient, but the documentations says it is not guaranteerd to be unique. But to what extent? Within a given timeframe, for a given objectId?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class=""&gt;eventId:&amp;nbsp;&lt;/SPAN&gt;The ID of the event that triggered this notification. This value is not guaranteed to be unique.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in general, how can we do this?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Mar 2025 14:12:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1129273#M81255</guid>
      <dc:creator>Jdb8</dc:creator>
      <dc:date>2025-03-29T14:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent processing of webhook events</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1129811#M81276</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/876765"&gt;@Jdb8&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question. I'd like to invite some of our community members who have expertise in this area to the conversation — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/630808"&gt;@james-portant&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/240111"&gt;@SNigam&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;how would you solve for this situation?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume you could do a bit of extra processing and create a unique identifier by combining multiple fields:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;eventId&lt;/LI&gt;
&lt;LI&gt;objectId&lt;/LI&gt;
&lt;LI&gt;subscriptionType&lt;/LI&gt;
&lt;LI&gt;timestamp&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;but is there a “better” way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for taking a look! — Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 16:47:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1129811#M81276</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-03-31T16:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent processing of webhook events</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1134109#M81491</link>
      <description>&lt;P&gt;I need to be sure about the solution,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/630808" target="_blank"&gt;@james-portant&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/240111" target="_blank"&gt;@SNigam&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811" target="_blank"&gt;@zach_threadint&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;can you give verify this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 12:42:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1134109#M81491</guid>
      <dc:creator>Jdb8</dc:creator>
      <dc:date>2025-04-09T12:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent processing of webhook events</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1136894#M81622</link>
      <description>&lt;P&gt;Can someone please answer this question or escalate. We are waiting for this to go live.&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 08:18:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1136894#M81622</guid>
      <dc:creator>Jdb8</dc:creator>
      <dc:date>2025-04-16T08:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Idempotent processing of webhook events</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1137236#M81634</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/876765"&gt;@Jdb8&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&amp;nbsp;Thanks for your follow-up. I understand you're looking for a definitive answer about webhook event idempotency, and I appreciate that this is blocking your progress.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To clarify, the HubSpot Community is a peer-to-peer support forum where community members help each other based on their experiences. The fact that no other members have responded further likely indicates this is a specialized area where many don't have direct experience to share.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The HubSpot documentation clearly mentions that&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;eventId&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;is not guaranteed to be unique. This lack of specification concerning any timeframe or conditions typically means developers should prepare for the possibility of duplicate&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;eventId&lt;/CODE&gt;&lt;SPAN&gt;s&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workaround I suggested (combining&lt;CODE&gt;eventId&lt;/CODE&gt; with&lt;CODE&gt;objectId&lt;/CODE&gt;,&lt;CODE&gt;subscriptionType&lt;/CODE&gt;, and&lt;CODE&gt;timestamp&lt;/CODE&gt; to create a composite unique identifier) remains the most reliable approach I'm aware of. Many developers use similar patterns when working with webhook systems that don't guarantee unique event identifiers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need an official clarification beyond what's in the public documentation, I'd recommend:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Testing the behavior in your dev environment&lt;/LI&gt;
&lt;LI&gt;Implementing the composite key approach as a safety measure&lt;/LI&gt;
&lt;LI&gt;If available to you, submitting a ticket through your HubSpot support channel&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope this helps you move forward with your implementation, and if you discover a solution, please consider sharing it back with the community to help others facing similar challenges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Jaycee​​​​​​​​​​​​​​​​&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 19:49:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Idempotent-processing-of-webhook-events/m-p/1137236#M81634</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-04-16T19:49:47Z</dc:date>
    </item>
  </channel>
</rss>

