You might consider using the CRM Search API for this request.
For example, imagine you want to identify Companies that have a “Last Activity Date” of on or after 1 January 2024. Your HubSpot CRM Search API request might look something like this:
Please note that the property “Last Activity Date” has an internal name (used when interacting with HubSpot APIs) of “notes_last_updated”. This property’s description, as supplied by HubSpot, is:
“The last time a call, chat conversation, LinkedIn message, postal mail, meeting, note, sales email, SMS, or WhatsApp message was logged for a company. This is set automatically by HubSpot based on user actions in the company record.”
I hope this proves useful. Please let me know if you have any follow-up questions.