Incremental Data Pull thru API for deals and companies

I am in a process of creating pipeline to pull deals and companies record. I designed a API which pulls the whole deal data every time I hit. Now I looking for a solution where I slice it down to pull only incremental data thru API call. In other words I looking to pull only the new deals created or modeifies last 24 hours time.

Does Hubspot API has the feature ? If not what would be the workaround solution to it?

Hey @KMalaiyappan,

There are a few ways you could achieve this and the option you choose also depends on the subscription you have with HubSpot. I’ll break them down in more detail below:

1. Trigger a webhook from a workflow (Requires Operations Hub Professional): Create a deal based workflow and trigger a webhook when a deal is created. You can define the endpoint to post the data to. Below is an example of what this might look like:

2. Use the webhooks API to subscribe to deal creation events (Available on all tiers): Setup a webhook using the Webhooks API from within your app to be notified any time a new deal is created.

Both options will notify you when a deal is created and prevents you having to poll the system which can be quite inefficient especially if data hasn’t changed since your last request.

Hi coldrickjack,
Thanks for your reply!!

But I am using REST API connector thru ADF for which I am looking for solution and your solution more aligned with webhooks. I have found a method to slice it down now I kinda stuck paging thru the response where I have to dynamically change the request body of the deals in ADF