Smenso icon

Smenso

Interact with the smenso project management API

Attachment → Get Project Attachments

AI-generated

Summary

Retrieve a list of attachments associated with a specific project in Smenso, optionally including attachments linked to tasks and status reports within that project.

Inputs

  • Project ID (required) — The GUID of the project to retrieve attachments from.
  • Include All (project + task + status report attachments) — Boolean flag to determine scope of attachments: true includes all attachments related to the project, including those linked to tasks and status reports; false includes only attachments attached directly at the project level.

Output shape

a list of attachment objects related to the specified project.

The returned data includes all attachments according to the projectOnly flag. If projectOnly is true, attachments for the entire project including its tasks and status reports are returned; otherwise, only direct project-level attachments are returned. The API response is in JSON format.

Examples

Example 1: Retrieve all attachments for a project including task and status report attachments.

Set 'Project ID' to the target project's GUID and enable 'Include All' to true.

Example 2: Retrieve only project-level attachments for a project.

Set 'Project ID' to the target project's GUID and set 'Include All' to false.

Links

Discussion