Get all tasks in workspace API endpoint request
Tyson Clegg
In the ClickUp API, I would like a better way to retrieve all tasks across an entire workspace in ClickUp. Currently, I need to pull those from either get tasks in view or get tasks in list. For replication to our data warehouse, it would be much simpler if we can pull all tasks across all lists, along with their corresponding List ID. The issue with get tasks in list is that if a task is in multiple lists, it is only returned in the API response for the primary list, which is very difficult to code around when we have multiple lists that share tasks, and we want to make sure we get all tasks for a single list. We found a workaround for this by creating a view, then using the get tasks in view endpoint, but that has it's own challenges, such as no task description, plus someone needs to maintain that list and ensure it doesn't get deleted or altered to prevent the API response from being altered as well. Also worth noting that with an endpoint such as this, we also need the ability to do incremental filtering based on the last modified timestamps, that way we don't need to pull all tasks each time we refresh the data, we can focus on only retrieving tasks that have been modified since our last incremental extraction.
Log In
John
There is also a parameter "include_timl=true" to include tasks that are homed in a different List but added to the location you're querying.
TIML = Task in multiple Lists
John
Hey Tyson Clegg - You can use the Get Filtered Team Tasks endpoint to get all WS tasks that your user has permission to access. This is what I use to push incremental data to a database.