Wrike API Tasks
I have a Wrike API question. I am attempting to get all TASKS from a specific Space. When i reviewed the data i see that i am not getting all the records i would expect. I had added new tasks to the space as a test. The dataset looks like it ends in April of 2022. Any task created after i am not getting. Are there any limitations? Or is there something different I should be doing? Below is the curl i am using.
curl -g -X GET -H "Authorization: bearer "$token \ "https://www.wrike.com/api/v4/spaces/<spaceID>/tasks?fields=["parentIds","subTaskIds","responsibleIds","customFields","effortAllocation"]&descendants=true"\ --output "./json/tasks1.json"
Hi Gary Carreon, I've raised a Support ticket for you, our team should be in touch shortly via email 🙋🏻♀️
I'm having the same issue; it seems there is a 1,000 record limit. Is there any way to offset the task records requested so I can iterate through the API call and retrieve the next 1,000 records etc.?
Hi Sarah Block, welcome to the Community, and thank you for posting. Please note the command [GET] /spaces/{spaceId}/tasks returns only 1.000 tasks.
To get the full list of tasks from a large Space, please use the response pagination. Here's a Help page with instructions: https://help.wrike.com/hc/en-us/community/posts/211881385-API-Pagination-and-the-nextpage-Token
Please let me know if this helps.
Thanks Cansu for the quick response! Yes that page has been very helpful. I've been able to successfully implement the paging into my API calls.
Great to hear that Sarah Block don't hesitate to let us know if you have any other questions 🙋🏻♀️
Hi,
I am trying to get tasks from the Spaces but don't see any results. can someone help
Welcome to the Community Nishita Sake, and thank you for reaching out 👋
I can see that you're discussing this with our Support team now. Please let me know if there's anything else I can help you with!
Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Lisa Wrike Team member Become a Wrike expert with Wrike Discover