[API 2.0] Get attachments by task ID
Michael Kolmanovich
Currently no way to get attachments URLs for specified task. Suggesting to add https://api.clickup.com/api/v2/task/123/attachment endpoint with method GET to retrieve all attachments entries by task ID.
Log In
S
Susan Petracco
We have a need for this too. Clickup is great for allowing our employees to upload the files needed, and for warehousing them, but we need to be able to distribute some to our customers and have no automatic way of doing this.
J
Jon Baxter Fegel
I think this is really important.
Lorenzo Boers
Please also consider adding a dedicated POST method to add attachments directly to specific custom fields. Alternatively, extend the existing "CreateTaskAttachment" endpoint with a parameter to connect attachments to the right custom field. This enhancement would boost API flexibility and organization significantly.
Elias
Especially with the now more advanced Forms this would open up new work flows. Works great in Asana. ,
Nam Hoang
Any update on this?
Tim Bolivar
I've been searching all around for a way to GET attachments from a ClickUp task. This is the first I've seen someone talk about it. Have you learned a way since you posted this thought?
W
Will
Marc Deschenes / Zeb / Alex Z
I saw you all have the same problem.
I'm seeing the following
- GET /api/v2/list/{list_id}/task returns ONLY attachments linked to tasks via the custom fields, not the attachments directly linked to the task
- GET /api/v2/task/{task_id} returns all attachments (both via custom fields as directly linked)
meaning I need to do N api calls (1 per task) to get the attachments of all the tasks in a list... :(
Brendan W
Will: Hey, there! Stepping in to help 😃
I'll bring this up with the team as we're looking to improve API functions later this year or early next!
W
Will
Brendan W: I did some extra experiments and updated my comment above. Can you reread it please :)?
Initially I thought I never got the attachments, but we do seem to get them for 1-by-1 GET's, but not for the listing the tasks.
Is there a URL parameter as to include the attachments in the response for multiple tasks?
A
Alex Z
It will be very good if you add the ability to get information about the task and attachments in one request