<?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 API call based on current lookup? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/API-call-based-on-current-lookup/m-p/926459#M71253</link>
    <description>&lt;P&gt;I would like to know, is there an API call that I can make based on the current lookup? I know there is the Lists API, but even better would be that I can use the current lookup based on the filtered companies. My goal is to use this data to send to Mapbox to map my filtered companies&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 15:04:46 GMT</pubDate>
    <dc:creator>ChrisSosa1337</dc:creator>
    <dc:date>2024-02-21T15:04:46Z</dc:date>
    <item>
      <title>API call based on current lookup?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-call-based-on-current-lookup/m-p/926459#M71253</link>
      <description>&lt;P&gt;I would like to know, is there an API call that I can make based on the current lookup? I know there is the Lists API, but even better would be that I can use the current lookup based on the filtered companies. My goal is to use this data to send to Mapbox to map my filtered companies&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 15:04:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-call-based-on-current-lookup/m-p/926459#M71253</guid>
      <dc:creator>ChrisSosa1337</dc:creator>
      <dc:date>2024-02-21T15:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: API call based on current lookup?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-call-based-on-current-lookup/m-p/927795#M71333</link>
      <description>&lt;P&gt;Hey, &lt;SPAN class="mention" data-mention="@ChrisSosa1337"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/602082"&gt;@ChrisSosa1337&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Have you investigated using the &lt;A href="https://developers.hubspot.com/docs/api/crm/search" target="_blank"&gt;Search API&lt;/A&gt;? This allows you to use filters and specify the properties you want returned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A simple example might look like this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
  "filterGroups": [
    {
      "filters": [
        {
          "propertyName": "industry",
          "operator": "EQ",
          "value": "technology"
        },
        {
          "propertyName": "country",
          "operator": "EQ",
          "value": "USA"
        }
      ]
    }
  ],
  "properties": ["name", "address", "latitude", "longitude"],
  "limit": 10,
  "after": 0
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, there isn't another endpoint that exactly matches what you are asking for.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun building! — Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 23:03:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-call-based-on-current-lookup/m-p/927795#M71333</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-02-22T23:03:20Z</dc:date>
    </item>
  </channel>
</rss>

