Get only Changes from API

I have created a program that uses the API to get all tasks and place it in a PostgreSQL database, I download all the tasks in the project to copy it over but when updating the data base requesting everything from the API is inefficient.

Is there a flag or API request that can get only new changes in the project so it synchronises instead of deleting the table and recreating it.

Antony Leons

Hi :wave:
Have a look at the concept of Webhooks and events in the API documentation! That should help.


Yes, webhook can be one solution.

Also, if you have access to the advanced search api, you can query for tasks modified after (last update time), like:
Keep in cache the last time you updated your data, and request changes since that date.

1 Like