How to read only recently updated deals?

Hi,

Hope someone can help me with this:

I would like to access information on all deals that have been updated in the last 24 hours.

To do this I think I need to use the deals / search API : https://api.hubapi.com/crm/v3/objects/deals/search

I am entering the below parameters:

{

‘filterGroups’: [{
‘filters’: [{
“value”: “2022-12-15T00:00:00.000Z”,
“propertyName”: “hs_lastmodifieddate”,
“operator”: “GTE”
}
]
}
],
“sorts”:[
“string”
],
“query”:“string”,
“properties”:[
“string”
],
“limit”:0,
“after”:0
}

As a response I receive: There was a problem with the request.

Anyone who knows what I am doing wrong?

Hi, @NNeijmeijer :waving_hand: Have you tried using the BTE filter instead? Our community champion @coldrickjack offers up one approach in this thread — hs_lastmodifieddate search via API not work.

Best,

Jaycee