How do I get all task attachments (with taskids) from a folder?

I have a folder with multiple tasks. Each task has attachments. How can I get all these attachments (and the taskid they are assigned to) with the least amount of fetches? 

/folders/{id}/attachments only get attachments that are in folders and not in tasks

/tasks/{id}/attachments only get attachments that are in that specific task. we have many many tasks. Too many to make individual requests.

/attachments gets every single attachment in the entire account which is massive and slow

/attachments?createdDate={"start":"2020-07-01T00:00:00Z","end":"2021-07-02T07:53:33Z"} gets only the last 31 days and our projects run around three months...

is calling /attachments really my only option? what am I missing? Thanks

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
1 comment

Hey Garrett Cullen, welcome to Wrike forums 👋 I'll ask our Support team to look into your question 👍

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

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: How do I get all task attachments (with taskids) from a folder?
[this list is visible for admins and agents only]

Top
Didn’t find what you were looking for? Write new post