<?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: GET specific information in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/989713#M74199</link>
    <description>&lt;P&gt;Hi&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET {{baseUrl}}/crm/v3/objects/companies ?properties=company_name&amp;amp;properties=industry &amp;amp;propertiesWithHistory=annual_revenue&amp;amp;propertiesWithHistory=num_employees &amp;amp;associations=contacts&amp;amp;associations=deals &amp;amp;archived=false&amp;amp;filter=hs_lastmodifieddate eq 2024-06-10T14:25:53.231Z&lt;BR /&gt;&lt;BR /&gt;with this&amp;nbsp;filter=hs_lastmodifieddate eq 2024-06-10T14:25:53.231Z is not working, could you please help here!! I don't want to use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/search&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 13:22:25 GMT</pubDate>
    <dc:creator>devphoenix</dc:creator>
    <dc:date>2024-06-10T13:22:25Z</dc:date>
    <item>
      <title>GET specific information</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/980255#M73793</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help in this problem statement,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Case :&lt;/STRONG&gt; &lt;SPAN&gt;Do we have any parameter for these APIs that allows us to fetch only specific records after a certain time? For example, suppose my HubSpot account has 10 records, and we fetch these 10 records on May 21, 2024, at 01:00 PM. After that, we add 2 new records and modify 1 of the existing 10 records. When we hit the API on May 22, 2024, at 01:00 PM, we want to receive only the 2 new records and the 1 modified record.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;API's&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/companies" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/companies&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/contacts" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/contacts&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/deals" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/deals&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/contacts/v1/lists/1/contacts/all?&amp;amp;property=email&amp;amp;property=firstname&amp;amp;property=lastname" target="_blank"&gt;https://api.hubapi.com/contacts/v1/lists/1/contacts/all?&amp;amp;property=email&amp;amp;property=firstname&amp;amp;property=lastname&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please let me know if you need any further details or clarification.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 09:48:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/980255#M73793</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-05-22T09:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: GET specific information</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/980733#M73816</link>
      <description>&lt;P&gt;Hey, &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/603490"&gt;@devphoenix&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; The Search API will be your best bet. It allows for search operators like &lt;A href="https://developers.hubspot.com/docs/api/crm/search#filter-search-results" target="_blank"&gt;GT, GTE, LT, LTE, and BETWEEN&lt;/A&gt;. The CRM endpoints you linked to do not allow for filtering and using search operators.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 19:39:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/980733#M73816</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-05-22T19:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: GET specific information</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/988895#M74174</link>
      <description>&lt;P&gt;Could you please help here, my below CURL is not working&lt;BR /&gt;&lt;BR /&gt;curl --location '&lt;A href="https://api.hubapi.com/crm/v3/objects/companies/search" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/companies/search&lt;/A&gt;' \&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--header 'Accept: application/json' \&lt;BR /&gt;--header 'Authorization: Bearer NOPE' \&lt;BR /&gt;--data '{&lt;BR /&gt;"filters": [&lt;BR /&gt;{&lt;BR /&gt;"propertyName": "updatedAt",&lt;BR /&gt;"operator": "EQ",&lt;BR /&gt;"value": "2024-06-04T14:25:53.231Z"&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-inline" image-alt="devphoenix_0-1717778217901.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119278i703C4A1E030522E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devphoenix_0-1717778217901.png" alt="devphoenix_0-1717778217901.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 16:58:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/988895#M74174</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-06-07T16:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: GET specific information</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/988926#M74178</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/603490"&gt;@devphoenix&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; One issue I see is that `updatedAt` is not a property itself. `updatedAt` is a value that is part of the response for other properties. Essentially, each property can have metadata like `updatedAt` that shows when the property was last updated, but you can’t use `updatedAt` directly as a property in your API calls. We can verify this by making a request to the Properties API:&lt;/P&gt;
&lt;P&gt;Request&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/properties/company/updatedAt?archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;Response&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;HTTP 404

{
  "status": "error",
  "message": "No property named 'updatedAt' exists.",
  "correlationId": "b9983aa0-b4cd-4a69-86d9-12ea5b5028b7",
  "context": {
    "name": [
      "updatedAt"
    ]
  },
  "category": "OBJECT_NOT_FOUND",
  "subCategory": "Properties.PROPERTY_NOT_FOUND"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using&amp;nbsp;the `hs_lastmodifieddate` property? This property updates any time any property on an object record is changed, reflecting the most recent update timestamp. You can leverage `hs_lastmodifieddate` to filter or sort your search results based on when records were last modified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps get you moving forward! — Jaycee&lt;BR /&gt;&lt;BR /&gt;PS, you included your Private App key in your reply. I removed it, but you should consider rotating it to be safe.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 17:20:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/988926#M74178</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-06-07T17:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: GET specific information</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/989227#M74188</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2024 15:22:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/989227#M74188</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-06-08T15:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: GET specific information</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/989713#M74199</link>
      <description>&lt;P&gt;Hi&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET {{baseUrl}}/crm/v3/objects/companies ?properties=company_name&amp;amp;properties=industry &amp;amp;propertiesWithHistory=annual_revenue&amp;amp;propertiesWithHistory=num_employees &amp;amp;associations=contacts&amp;amp;associations=deals &amp;amp;archived=false&amp;amp;filter=hs_lastmodifieddate eq 2024-06-10T14:25:53.231Z&lt;BR /&gt;&lt;BR /&gt;with this&amp;nbsp;filter=hs_lastmodifieddate eq 2024-06-10T14:25:53.231Z is not working, could you please help here!! I don't want to use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/search&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 13:22:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-specific-information/m-p/989713#M74199</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-06-10T13:22:25Z</dc:date>
    </item>
  </channel>
</rss>

