<?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: Look up a contact or account from cookie in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1234133#M86130</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1019563"&gt;@PLemaire5&lt;/a&gt;&amp;nbsp;, you’re running into a real platform constraint, not missing an endpoint. HubSpot’s tracking cookie (hubspotutk / hutk) is meant to help HubSpot associate activity when a visitor becomes known, but HubSpot does not expose an API that lets you reverse-resolve “cookie &amp;gt; contact” for a third-party integration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That’s largely for privacy and security reasons, and it’s why you won’t find a supported “lookup by hutk” call.&lt;/P&gt;
&lt;P&gt;What you can do (and what most integrations end up doing) is treat the cookie as an input only at the moment of identification. For example, when you submit a HubSpot form via the API and pass the hutk, HubSpot will attach that browser’s activity to the contact it identifies in that submission.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That’s a one-way bridge into HubSpot’s identity graph, not a query mechanism back out (&lt;A href="https://developers.hubspot.com/docs/api-reference/marketing-forms-v3/guide" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/marketing-forms-v3/guide&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the “minimal client involvement” point: if the blocker is “clients would have to create properties,” note that a public app can create the needed custom property programmatically during onboarding using the CRM Properties API. So the client doesn’t manually add anything, but you still end up with a stable key you can search on later (&lt;A href="https://developers.hubspot.com/docs/api-reference/crm-properties-v3/guide" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/crm-properties-v3/guide&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Practically, you store your own external visitor/user ID (or your own cookie) in HubSpot, and keep the hutk &amp;gt; external ID mapping on your side. So: no direct cookie lookup, but you can (a) identify/associate at submission time, and (b) make the “searchable identifier” painless by creating it automatically as part of app install.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Dec 2025 19:31:39 GMT</pubDate>
    <dc:creator>RubenBurdin</dc:creator>
    <dc:date>2025-12-15T19:31:39Z</dc:date>
    <item>
      <title>Look up a contact or account from cookie</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1230679#M85903</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find a contact in the CRM based on the cookie dropped by hubspot to identify website visitors. It looks like it's impossible with the API. Anyone has a solution?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 14:24:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1230679#M85903</guid>
      <dc:creator>PLemaire5</dc:creator>
      <dc:date>2025-12-03T14:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Look up a contact or account from cookie</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1230693#M85906</link>
      <description>&lt;P&gt;Hi Pierre,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to the Community! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; From what you described, it sounds like you’d like to use the HubSpot tracking cookie&amp;nbsp;to look up a specific contact via the API. Is that right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some workarounds you could try:&lt;BR /&gt;- Store your own id on the contact. Save the id on a custom property on the Contact, and then use HubSpot's CRM Search API to find the contact based on the ID property you create.&lt;BR /&gt;- Any time you know whoe the visitor is, log the tracking cookie and contact id in your own database, and then you can do lookups based on the cookie through an integration on your own DB and the HubSpot API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let me know if this helps, or if you have any other questions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;SPAN class="lia-unicode-emoji"&gt;&lt;SPAN class="lia-unicode-emoji"&gt;&lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Was I able to help answer your question? Help the community by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;marking it as a solution.&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="20.365535248041773%" height="191px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrandonWoodruff_0-1764774083430.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/163060i9E1B2B52BB6FDF6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrandonWoodruff_0-1764774083430.jpeg" alt="BrandonWoodruff_0-1764774083430.jpeg" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79.50391644908615%" height="191px"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://www.linkedin.com/in/brandon-woody-woodruff/" target="_blank" rel="noopener nofollow noreferrer"&gt;Brandon Woodruff&lt;/A&gt;&lt;BR /&gt;&lt;/STRONG&gt;Senior Software Developer @&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.pearagon.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;Pearagon&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Still have questions? Reach out at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:brandon@pearagon.com" target="_blank" rel="noopener nofollow noreferrer"&gt;brandon@pearagon.com&lt;/A&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrandonWoodruff_1-1764774083495.png" style="width: 200px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/163059i626248534EE54F67/image-size/small?v=v2&amp;amp;px=200" role="button" title="BrandonWoodruff_1-1764774083495.png" alt="BrandonWoodruff_1-1764774083495.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 15:01:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1230693#M85906</guid>
      <dc:creator>BrandonWoodruff</dc:creator>
      <dc:date>2025-12-03T15:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Look up a contact or account from cookie</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1230699#M85908</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1019563"&gt;@PLemaire5&lt;/a&gt;&lt;/SPAN&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the Community!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/945160"&gt;@BrandonWoodruff&lt;/a&gt;&lt;/SPAN&gt; is correct. Additionally, I found this existing post that may also help point you in the right direction here! &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Receiving-cookie-ID-from-the-form-integrated-on-the-back-end/m-p/1151729" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Receiving-cookie-ID-from-the-form-integrated-on-the-back-end/m-p/1151729&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sam, Community Manager&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 15:16:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1230699#M85908</guid>
      <dc:creator>SamTassey</dc:creator>
      <dc:date>2025-12-03T15:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Look up a contact or account from cookie</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1231014#M85925</link>
      <description>&lt;P&gt;Thanks for your replies both of you!&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/945160"&gt;@BrandonWoodruff&lt;/a&gt;&amp;nbsp;this is exactly the outcome I want and the solution I envisionned, but this would requires our clients to do the work to add the new properties etc. which I'd rather avoid.&lt;BR /&gt;&lt;BR /&gt;Any idea to do what I want with minimal involvement for my clients (who own and manage the CRM)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 10:14:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1231014#M85925</guid>
      <dc:creator>PLemaire5</dc:creator>
      <dc:date>2025-12-04T10:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Look up a contact or account from cookie</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1231550#M85958</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1019563"&gt;@PLemaire5&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your response! If you're looking to store data in HubSpot and there isn't an existing property at the object level, then I'm afraid the only way to do so would be to create a custom property to host the data.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;From a development perspective I'll leave that open to see if &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/945160"&gt;@BrandonWoodruff&lt;/a&gt;&lt;/SPAN&gt; has any insight there!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam, Community Manager&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 19:51:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1231550#M85958</guid>
      <dc:creator>SamTassey</dc:creator>
      <dc:date>2025-12-05T19:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Look up a contact or account from cookie</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1234133#M86130</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1019563"&gt;@PLemaire5&lt;/a&gt;&amp;nbsp;, you’re running into a real platform constraint, not missing an endpoint. HubSpot’s tracking cookie (hubspotutk / hutk) is meant to help HubSpot associate activity when a visitor becomes known, but HubSpot does not expose an API that lets you reverse-resolve “cookie &amp;gt; contact” for a third-party integration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That’s largely for privacy and security reasons, and it’s why you won’t find a supported “lookup by hutk” call.&lt;/P&gt;
&lt;P&gt;What you can do (and what most integrations end up doing) is treat the cookie as an input only at the moment of identification. For example, when you submit a HubSpot form via the API and pass the hutk, HubSpot will attach that browser’s activity to the contact it identifies in that submission.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That’s a one-way bridge into HubSpot’s identity graph, not a query mechanism back out (&lt;A href="https://developers.hubspot.com/docs/api-reference/marketing-forms-v3/guide" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/marketing-forms-v3/guide&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the “minimal client involvement” point: if the blocker is “clients would have to create properties,” note that a public app can create the needed custom property programmatically during onboarding using the CRM Properties API. So the client doesn’t manually add anything, but you still end up with a stable key you can search on later (&lt;A href="https://developers.hubspot.com/docs/api-reference/crm-properties-v3/guide" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/crm-properties-v3/guide&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Practically, you store your own external visitor/user ID (or your own cookie) in HubSpot, and keep the hutk &amp;gt; external ID mapping on your side. So: no direct cookie lookup, but you can (a) identify/associate at submission time, and (b) make the “searchable identifier” painless by creating it automatically as part of app install.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 19:31:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Look-up-a-contact-or-account-from-cookie/m-p/1234133#M86130</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-12-15T19:31:39Z</dc:date>
    </item>
  </channel>
</rss>

