APIs & Integrations

ChrisSosa1337
メンバー

API call based on current lookup?

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 

0 いいね!
1件の返信
Jaycee_Lewis
コミュニティーマネージャー
コミュニティーマネージャー

API call based on current lookup?

Hey, @ChrisSosa1337  👋 Have you investigated using the Search API? This allows you to use filters and specify the properties you want returned.

 

A simple example might look like this:

{
  "filterGroups": [
    {
      "filters": [
        {
          "propertyName": "industry",
          "operator": "EQ",
          "value": "technology"
        },
        {
          "propertyName": "country",
          "operator": "EQ",
          "value": "USA"
        }
      ]
    }
  ],
  "properties": ["name", "address", "latitude", "longitude"],
  "limit": 10,
  "after": 0
}

 

Otherwise, there isn't another endpoint that exactly matches what you are asking for. 

 

Have fun building! — Jaycee


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 いいね!