Returns the compact records for all attachments on the object.
There are three possible parent
values for this request: project
, project_brief
, and task
. For a project, an attachment refers to a file uploaded to the "Key resources" section in the project Overview. For a project brief, an attachment refers to inline files in the project brief itself. For a task, an attachment refers to a file directly associated to that task.
Note that within the Asana app, inline images in the task description do not appear in the index of image thumbnails nor as stories in the task. However, requests made to GET /attachments
for a task will return all of the images in the task, including inline images.
Customizing the response
Requests to this endpoint return "compact" attachment objects (schema) by default. To include more fields in the response, see input/output options.