Hi,
I am new to hubSpot and currently working on a application with a timer, that calls the API endpoint and inserts the data in the database. The two end points that I need data from are listed below. I need to call these end points per campaign id. I don’t want the tables to be truncated and reloaded everyday, I would like to maintin history and insert/update new and updated campaign data. With all that said, is there any way to fetch only new/updated campaign id’s from a given point of time.
Please let me know. Any insight would be helpful.
Thank you
https://api.hubapi.com/email/public/v1/campaigns/{campaignId}
https://api.hubapi.com/email/public/v1/events?campaignId={Campaign Id}&limit=5000