What is the best way to pull records with a specific value? Currently I am using GetMuitpleLeads but I am unable to specify filter criteria, hence I have to scan every lead to check whether a specific lead record has the value that I am looking for. It works for small instances but when the instances are huge and the no of leads which get updated in an hour are huge and I am unable to keep with the sync process.
I looked into webhooks but it really doesnt solve my issue as I may be looking to sync 1000's of records and webhooks dont play well with batch campaigns.
My only option is static list but still I cannot filter them by a filed value. hence even if the list has 10,000 records, I have to scan them constants to pick up changes.
What are my options here? I am really surprised that the marketo API does not specifiy filter by field.