<?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: How/where to get the contact ID ? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-where-to-get-the-contact-ID/m-p/813826#M65313</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/8209"&gt;@LeKevoid&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Can you share an example request? Or clarify your goal a bit more for the community, please?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you don't have Contact ID, but you do have their email address, for example, you can use their email address instead:&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Please note&lt;/STRONG&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;CODE&gt;idProperty&lt;/CODE&gt;&amp;nbsp;query parameter doesn't appear on the&amp;nbsp;Endpoints&amp;nbsp;tab due to technical limitations, but it can be used for contacts exclusively with&amp;nbsp;&lt;CODE&gt;email&lt;/CODE&gt;. To use an email address as the unique identifier, set the&amp;nbsp;&lt;CODE&gt;idProperty&lt;/CODE&gt;&amp;nbsp;as&amp;nbsp;&lt;CODE&gt;email&lt;/CODE&gt;&amp;nbsp;and enter the email address in place of the contact ID. This should be set as a query parameter rather than added to the request body.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If that is not what you are after, can you specific the part in the documentation that is not working as expected? Or the endpoint example you are working with, please?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you in advance. — Jaycee&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2023 17:55:07 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-06-29T17:55:07Z</dc:date>
    <item>
      <title>How/where to get the contact ID ?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-where-to-get-the-contact-ID/m-p/812477#M65233</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;Following the &lt;A href="https://developers.hubspot.com/docs/api/crm/contacts" target="_blank" rel="noopener"&gt;documentation on the Contacts API&lt;/A&gt;, I'm having a hard time figuring out where the {contactId} property is supposed to come from. In the legacy API, one could use the hubspotutk cookie to get a unique token to identify contacts. I'm struggling to find how to do the same with the new API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to be able to fetch, from my website,&amp;nbsp;the contact record associated with the visitor, so I can personalize the content. How can this be done ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 13:16:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-where-to-get-the-contact-ID/m-p/812477#M65233</guid>
      <dc:creator>LeKevoid</dc:creator>
      <dc:date>2023-06-27T13:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: How/where to get the contact ID ?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-where-to-get-the-contact-ID/m-p/813826#M65313</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/8209"&gt;@LeKevoid&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Can you share an example request? Or clarify your goal a bit more for the community, please?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you don't have Contact ID, but you do have their email address, for example, you can use their email address instead:&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Please note&lt;/STRONG&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;CODE&gt;idProperty&lt;/CODE&gt;&amp;nbsp;query parameter doesn't appear on the&amp;nbsp;Endpoints&amp;nbsp;tab due to technical limitations, but it can be used for contacts exclusively with&amp;nbsp;&lt;CODE&gt;email&lt;/CODE&gt;. To use an email address as the unique identifier, set the&amp;nbsp;&lt;CODE&gt;idProperty&lt;/CODE&gt;&amp;nbsp;as&amp;nbsp;&lt;CODE&gt;email&lt;/CODE&gt;&amp;nbsp;and enter the email address in place of the contact ID. This should be set as a query parameter rather than added to the request body.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If that is not what you are after, can you specific the part in the documentation that is not working as expected? Or the endpoint example you are working with, please?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you in advance. — Jaycee&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 17:55:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-where-to-get-the-contact-ID/m-p/813826#M65313</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-06-29T17:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: How/where to get the contact ID ?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-where-to-get-the-contact-ID/m-p/833766#M66407</link>
      <description>&lt;P&gt;I think that I have the same requirement.&amp;nbsp; I am looking for a technique that will allow me to personalise the content on a WordPress page based on discovering the HubSpot contact id of the visitor to my web page.&lt;BR /&gt;&lt;BR /&gt;(Ideally, I would like to do this in JavaScript within my WordPress page, but if I need to use the HubSpot API then I expect that call will need to come from a server in order to keep access tokens secure.)&lt;BR /&gt;&lt;BR /&gt;What options are there for achieving this?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 10:07:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-where-to-get-the-contact-ID/m-p/833766#M66407</guid>
      <dc:creator>adamburr</dc:creator>
      <dc:date>2023-08-13T10:07:18Z</dc:date>
    </item>
  </channel>
</rss>

