<?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: Contacts API, /contacts/v1/lists/all/contacts/all returns empty response in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/948177#M72139</link>
    <description>&lt;P&gt;Gaurav,&lt;/P&gt;&lt;P&gt;I added param&amp;nbsp;&lt;SPAN&gt;propertiesWithHistory=recent_conversion_event_name but unfortunately didn't find a value for 'form-submissions.page-url' that was returned from v1 for one of contacts, e.g. "&lt;A href="https://meetings.hubspot.com/william-lewis/1-on-1-with-dr-bill-lewis" target="_blank"&gt;https://meetings.hubspot.com/william-lewis/1-on-1-with-dr-bill-lewis&lt;/A&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here's a&amp;nbsp;&lt;SPAN&gt;propertiesWithHistory value for the same contact from v3:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;            "propertiesWithHistory": {
                "recent_conversion_event_name": [
                    {
                        "value": "Meetings Link: william-lewis/1-on-1-with-dr-bill-lewis",
                        "timestamp": "2021-11-13T17:15:20.256Z",
                        "sourceType": "CALCULATED"
                    },
                    {
                        "value": "Meetings Link: drmccracken",
                        "timestamp": "2021-08-20T07:59:14.294Z",
                        "sourceType": "MIGRATION",
                        "sourceId": "BackfillReadtimeCalculatedPropertiesJob"
                    }
                ]
            },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Evgeniy&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 22 Mar 2024 09:51:28 GMT</pubDate>
    <dc:creator>IM_Developer</dc:creator>
    <dc:date>2024-03-22T09:51:28Z</dc:date>
    <item>
      <title>Contacts API, /contacts/v1/lists/all/contacts/all returns empty response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/947548#M72109</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;Requesting contact list&lt;/P&gt;&lt;P&gt;GET &lt;A href="https://api.hubapi.com/contacts/v1/lists/all/contacts/all?count=10&amp;amp;property=email&amp;amp;property=lastname&amp;amp;property=hs_lifecyclestage_opportunity_date&amp;amp;property=utm_campaign&amp;amp;property=utm_source&amp;amp;property=utm_medium&amp;amp;property=hs_analytics_source&amp;amp;property=hs_analytics_source_data_1&amp;amp;property=hs_analytics_source_data_2&amp;amp;property=hs_lead_status&amp;amp;property=recent_conversion_event_name&amp;amp;property=recent_conversion_date&amp;amp;property=affiliate_lead&amp;amp;property=number_of_employees_range_&amp;amp;property=recent_deal_amount" target="_blank"&gt;https://api.hubapi.com/contacts/v1/lists/all/contacts/all?count=10&amp;amp;property=email&amp;amp;property=lastname&amp;amp;property=hs_lifecyclestage_opportunity_date&amp;amp;property=utm_campaign&amp;amp;property=utm_source&amp;amp;property=utm_medium&amp;amp;property=hs_analytics_source&amp;amp;property=hs_analytics_source_data_1&amp;amp;property=hs_analytics_source_data_2&amp;amp;property=hs_lead_status&amp;amp;property=recent_conversion_event_name&amp;amp;property=recent_conversion_date&amp;amp;property=affiliate_lead&amp;amp;property=number_of_employees_range_&amp;amp;property=recent_deal_amount&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I got an empty response&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"contacts": [],&lt;BR /&gt;"has-more": false,&lt;BR /&gt;"vid-offset": 0&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;However, on UI Contacts list shows 57454 records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;portalId is&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;9089349, token has required scope&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"crm.objects.contacts.read" (following &lt;A href="https://legacydocs.hubspot.com/docs/methods/contacts/get_contacts" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"scopes"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"content"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"business-intelligence"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"oauth"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"integration-sync"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.objects.contacts.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.objects.marketing_events.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.schemas.custom.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.schemas.contacts.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.objects.feedback_submissions.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.objects.companies.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.objects.deals.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.schemas.companies.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.schemas.deals.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.objects.owners.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.objects.quotes.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.schemas.quotes.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.objects.line_items.read"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"crm.schemas.line_items.read"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;],&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please advise how to resolve this issue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Evgeniy&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Mar 2024 13:21:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/947548#M72109</guid>
      <dc:creator>IM_Developer</dc:creator>
      <dc:date>2024-03-21T13:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Contacts API, /contacts/v1/lists/all/contacts/all returns empty response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/947622#M72114</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/527150"&gt;@IM_Developer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's the curl command that should help you:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/objects/contacts?limit=100&amp;amp;properties=email&amp;amp;properties=firstname&amp;amp;properties=lastname&amp;amp;properties=hs_object_id&amp;amp;properties=phone&amp;amp;properties=company&amp;amp;archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-root="1" data-sheets-value="{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.\nThanks!&amp;quot;}" data-sheets-userformat="{&amp;quot;2&amp;quot;:769,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:0},&amp;quot;11&amp;quot;:4,&amp;quot;12&amp;quot;:0}"&gt;I hope this will help you out. Please mark it as &lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 14:58:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/947622#M72114</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2024-03-21T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Contacts API, /contacts/v1/lists/all/contacts/all returns empty response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/948111#M72136</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for replying!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've checked v3 endpoint and found the data I'm looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And one more question here: in v1 API, the response for contacts contains a "form-submissions" array, and we use "page-url" element from this array.&lt;/P&gt;&lt;P&gt;Could you please explain how I can get such value in v3 API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Evgeniy&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Mar 2024 07:54:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/948111#M72136</guid>
      <dc:creator>IM_Developer</dc:creator>
      <dc:date>2024-03-22T07:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Contacts API, /contacts/v1/lists/all/contacts/all returns empty response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/948153#M72138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/527150"&gt;@IM_Developer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the curl command that should help you:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/objects/contacts?limit=10&amp;amp;properties=recent_conversion_event_name&amp;amp;properties=email&amp;amp;properties=firstname&amp;amp;properties=lastname&amp;amp;properties=phone&amp;amp;properties=company&amp;amp;propertiesWithHistory=recent_conversion_event_name&amp;amp;archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The curl command returned a "propertyWithHistory" array, which includes the most recent conversion. To clarify, "recent conversion" refers to the latest form submitted by the contact. Additionally, "propertyWithHistory" provides all form submissions from the specific page URL.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this will help you out. Please mark it as&amp;nbsp;&lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt;&amp;nbsp;to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 09:13:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/948153#M72138</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2024-03-22T09:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Contacts API, /contacts/v1/lists/all/contacts/all returns empty response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/948177#M72139</link>
      <description>&lt;P&gt;Gaurav,&lt;/P&gt;&lt;P&gt;I added param&amp;nbsp;&lt;SPAN&gt;propertiesWithHistory=recent_conversion_event_name but unfortunately didn't find a value for 'form-submissions.page-url' that was returned from v1 for one of contacts, e.g. "&lt;A href="https://meetings.hubspot.com/william-lewis/1-on-1-with-dr-bill-lewis" target="_blank"&gt;https://meetings.hubspot.com/william-lewis/1-on-1-with-dr-bill-lewis&lt;/A&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here's a&amp;nbsp;&lt;SPAN&gt;propertiesWithHistory value for the same contact from v3:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;            "propertiesWithHistory": {
                "recent_conversion_event_name": [
                    {
                        "value": "Meetings Link: william-lewis/1-on-1-with-dr-bill-lewis",
                        "timestamp": "2021-11-13T17:15:20.256Z",
                        "sourceType": "CALCULATED"
                    },
                    {
                        "value": "Meetings Link: drmccracken",
                        "timestamp": "2021-08-20T07:59:14.294Z",
                        "sourceType": "MIGRATION",
                        "sourceId": "BackfillReadtimeCalculatedPropertiesJob"
                    }
                ]
            },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Evgeniy&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Mar 2024 09:51:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Contacts-API-contacts-v1-lists-all-contacts-all-returns-empty/m-p/948177#M72139</guid>
      <dc:creator>IM_Developer</dc:creator>
      <dc:date>2024-03-22T09:51:28Z</dc:date>
    </item>
  </channel>
</rss>

