APIs & Integrations

SCurren
Member

Hubspot Post Search API

SOLVE

How can I make a Hubspot API post call on Search endpoint with the following: A filter :]

 {
      "filters": [
        {
          "propertyName": "lastmodifieddate",
          "operator": "GT",
          "value": "1900-01-01T00:00:00.000Z"
        }
      ]
    }

A limit: { "limit": 100} Pagination: ? {"properties":["hs_analytics_average_page_views, hs_analytics_first_referrer, etc.... "] (I may have up to 400 properties I am attempting to retrieve.

How would I make this call on postman?

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

Hubspot Post Search API

SOLVE

Hey, @SCurren 👋 Thanks for your question. Here's a request body from a different example I had in Postman. It includes the types of elements you want to include in your request — filters, a limit, and properties.

{
    "filterGroups": [
        {
            "filters": [
                {
                    "propertyName": "firstname",
                    "operator": "CONTAINS_TOKEN",
                    "value": "*j*"
                }
            ]
        }
    ],
    "limit": 2,
    "properties": [
        "dealname",
        "hs_object_id"
        
    ]
}

I hope this helps get you moving forward! — 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 !

View solution in original post

0 Upvotes
1 Reply 1
Jaycee_Lewis
Solution
Community Manager
Community Manager

Hubspot Post Search API

SOLVE

Hey, @SCurren 👋 Thanks for your question. Here's a request body from a different example I had in Postman. It includes the types of elements you want to include in your request — filters, a limit, and properties.

{
    "filterGroups": [
        {
            "filters": [
                {
                    "propertyName": "firstname",
                    "operator": "CONTAINS_TOKEN",
                    "value": "*j*"
                }
            ]
        }
    ],
    "limit": 2,
    "properties": [
        "dealname",
        "hs_object_id"
        
    ]
}

I hope this helps get you moving forward! — 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 Upvotes