Skip to main content

List attachments

List the files attached to a task, with their size and download link.

Command in the Asana toolkit · id ooa.asana/list_attachments · 4 inputs (2 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNohttps://app.asana.com/api/1.0API address. Keep the default unless your company routes Asana through a proxy.
TokenCredentialYesPersonal access token or OAuth token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
Task IDStringYesTask id: the long number at the end of the task's link, e.g. 1208000000000001.
Maximum resultsNumberNo100Most items to return; pages are read until this many are found.

Outputs​

OutputTypeWhat it is
tableTableColumns: gid, name, size (bytes), host, created_at, download_url, view_url. The download link is temporary; use Download attachment to save a file.
countNumberNumber of attachments returned.