<?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: Custom Event via API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1137796#M81659</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/930970"&gt;@Arpit_Verma&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;been through this before and yeah, it gets confusing fast if you’re not in the weeds with API stuff.&lt;BR /&gt;&lt;BR /&gt;So you’re on the right track — you’ve created the custom event, but by default HubSpot doesn’t “know” when to fire it unless you trigger it manually. The tracking code you got is mostly used for web-based tracking, not private app logic. So if you want the event to fire when a contact is created through your private app, your devs need to explicitly send that event to HubSpot when that happens.&lt;BR /&gt;&lt;BR /&gt;They’ll need the event ID you got, and then they’ll make a POST request to HubSpot’s /events/v3/send endpoint using your app’s token. No need to overthink the contact property mapping part — you can keep the default contact properties as-is and just make sure the event is logged right when the contact is created.&lt;BR /&gt;&lt;BR /&gt;That way, you’ll be able to use it later in attribution reporting since HubSpot can treat that event as a touchpoint. So yeah, it’s less about “connecting” the event to the private app and more about making sure the app tells HubSpot: “hey, this contact just triggered this event.” If it helps, just tell your devs: here’s the event ID, send it to /events/v3/send when a new contact is created, and that’ll give us what we need to track attribution properly. Let me know if you want help drafting the exact message for them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="RubenB_0-1744952403934.png" style="width: 200px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/143722iCFD6BDDC32D13C44/image-size/small?v=v2&amp;amp;px=200" role="button" title="RubenB_0-1744952403934.png" alt="RubenB_0-1744952403934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://www.linkedin.com/in/ruben-burdin/" target="_blank" rel="noopener nofollow noreferrer"&gt;Ruben Burdin&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Real-Time Data Sync Between any CRM or Database | Founder @&lt;A href="https://www.stacksync.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;Stacksync&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(YC W24)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2025 05:01:12 GMT</pubDate>
    <dc:creator>RubenBurdin</dc:creator>
    <dc:date>2025-04-18T05:01:12Z</dc:date>
    <item>
      <title>Custom Event via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1137447#M81645</link>
      <description>&lt;P class=""&gt;Hi Community,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I'm currently setting up a custom event via API for an existing Private App in HubSpot. While I’ve successfully created the custom event (name only), I’m unsure how to associate this event with the Private App integration, specifically to trigger when new contacts are created through it.&lt;/P&gt;&lt;P class=""&gt;As someone without a development background, I’m struggling with the technical aspects such as authentication, tracking codes, and data mapping. It’s not clear to me if the tracking code provided at the end of custom event setup needs to be handed off to the Private App development team or how this integration works under the hood.&lt;/P&gt;&lt;P class=""&gt;My end goal is to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Capture this event when contacts come through the Private App&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Map 5 of the default contact properties&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Use the custom event to build a Revenue Attribution report for that private app&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Would greatly appreciate a simplified, step-by-step guide or any resources tailored for non-technical users.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 11:11:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1137447#M81645</guid>
      <dc:creator>Arpit_Verma</dc:creator>
      <dc:date>2025-04-17T11:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Event via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1137796#M81659</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/930970"&gt;@Arpit_Verma&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;been through this before and yeah, it gets confusing fast if you’re not in the weeds with API stuff.&lt;BR /&gt;&lt;BR /&gt;So you’re on the right track — you’ve created the custom event, but by default HubSpot doesn’t “know” when to fire it unless you trigger it manually. The tracking code you got is mostly used for web-based tracking, not private app logic. So if you want the event to fire when a contact is created through your private app, your devs need to explicitly send that event to HubSpot when that happens.&lt;BR /&gt;&lt;BR /&gt;They’ll need the event ID you got, and then they’ll make a POST request to HubSpot’s /events/v3/send endpoint using your app’s token. No need to overthink the contact property mapping part — you can keep the default contact properties as-is and just make sure the event is logged right when the contact is created.&lt;BR /&gt;&lt;BR /&gt;That way, you’ll be able to use it later in attribution reporting since HubSpot can treat that event as a touchpoint. So yeah, it’s less about “connecting” the event to the private app and more about making sure the app tells HubSpot: “hey, this contact just triggered this event.” If it helps, just tell your devs: here’s the event ID, send it to /events/v3/send when a new contact is created, and that’ll give us what we need to track attribution properly. Let me know if you want help drafting the exact message for them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="RubenB_0-1744952403934.png" style="width: 200px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/143722iCFD6BDDC32D13C44/image-size/small?v=v2&amp;amp;px=200" role="button" title="RubenB_0-1744952403934.png" alt="RubenB_0-1744952403934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://www.linkedin.com/in/ruben-burdin/" target="_blank" rel="noopener nofollow noreferrer"&gt;Ruben Burdin&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Real-Time Data Sync Between any CRM or Database | Founder @&lt;A href="https://www.stacksync.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;Stacksync&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(YC W24)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 05:01:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1137796#M81659</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-04-18T05:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Event via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1138341#M81677</link>
      <description>&lt;P class=""&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/537570"&gt;@RubenBurdin&lt;/a&gt;,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thank you for your response — it was very helpful.&lt;/P&gt;&lt;P class=""&gt;I need further assistance regarding the Forms API. We currently have a Private App Integration built on the Contacts API. The external platform we use submits a non-HubSpot form that creates a contact in HubSpot. However, due to the current setup, these contacts aren't attributed at the interaction source level.&lt;/P&gt;&lt;P class=""&gt;I've been advised to migrate to the Forms API to ensure proper source attribution and accurate reporting in the Attribution report.&lt;/P&gt;&lt;P class=""&gt;As a non-developer, I’m unsure of the best approach. Should I ask the team managing the Private App Integration to update it to use the Forms API, or would it be better to work with a HubSpot developer to handle the transition?&lt;/P&gt;&lt;P class=""&gt;Or even if we have to do this myself, how should this be done? I've already gone and studies the HubSpot Knowledge academy docs related to this. Need a simple stepwise approach which would enable a Non-technical individual like me to achieve this.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Sun, 20 Apr 2025 18:18:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1138341#M81677</guid>
      <dc:creator>Arpit_Verma</dc:creator>
      <dc:date>2025-04-20T18:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Event via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1138360#M81679</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;Hey! Totally get where you're coming from .&lt;BR /&gt;&lt;BR /&gt;I’ve seen this situation before, and yeah, switching to the Forms API is usually the move if you want cleaner attribution (like seeing that the contact came from a form submission vs just “API” in reports). So yes, if you’ve got a Private App that currently creates contacts using the Contacts API, that &lt;EM&gt;bypasses&lt;/EM&gt; the attribution logic HubSpot uses for forms, which is why you’re not seeing source info or meaningful touchpoints in attribution reports. To fix that, you’ll want your external platform to send that data to HubSpot using the &lt;STRONG&gt;Forms API&lt;/STRONG&gt; instead. That way, HubSpot knows “hey, this was a form submission” and it logs source info like session, page URL, and referrer.&lt;BR /&gt;&lt;BR /&gt;Now, in terms of who should do it: if you’ve already got a dev team working on the private app, it’s 100% fine to ask &lt;EM&gt;them&lt;/EM&gt; to switch that endpoint to use the Forms API instead of the Contacts API. It’s not a huge change technically — they just need to POST the submission to /submissions/v3/integration/submit/:portalId/:formGuid and include things like the fields, legal consent (if needed), and optionally a tracking cookie (hutk) to tie the session.&lt;BR /&gt;&lt;BR /&gt;If you don’t have dev support and want to try it yourself, it’s doable but you’d need to use a platform like Postman or n8n to send the POST requests manually (and you’d still need access to the form GUID and know which contact properties are being sent).&lt;BR /&gt;&lt;BR /&gt;But honestly, if you’ve already got developers involved, it’s faster and safer to just pass this task to them — just tell them: “Can we update our contact creation logic to use the HubSpot Forms API instead of the Contacts API so we get proper source attribution?” and share this doc: &lt;A class="" href="https://developers.hubspot.com/docs/api/marketing/forms" target="_new" rel="noopener"&gt;https://developers.hubspot.com/docs/api/marketing/forms&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;That’s it. You don’t need to rebuild your forms — you can keep using your external form on your site, but just change where the data gets POSTed. Let me know if you want help writing the exact request for your devs or mapping which contact fields should go into which form fields.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="RubenB_0-1745182799392.png" style="width: 200px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/143853i9B54E9A3D34B322E/image-size/small?v=v2&amp;amp;px=200" role="button" title="RubenB_0-1745182799392.png" alt="RubenB_0-1745182799392.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://www.linkedin.com/in/ruben-burdin/" target="_blank" rel="noopener nofollow noreferrer"&gt;Ruben Burdin&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Real-Time Data Sync Between any CRM or Database | Founder @&lt;A href="https://www.stacksync.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;Stacksync&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(YC W24)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&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;&lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Apr 2025 21:02:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1138360#M81679</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-04-20T21:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Event via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1138457#M81683</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/537570"&gt;@RubenBurdin&lt;/a&gt;&amp;nbsp;would be glad if you could share the exact request. Will make my work easier.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 09:17:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Event-via-API/m-p/1138457#M81683</guid>
      <dc:creator>Arpit_Verma</dc:creator>
      <dc:date>2025-04-21T09:17:26Z</dc:date>
    </item>
  </channel>
</rss>

