upload-attachment
Uploads a file from an absolute path to a specified Dooray task, returning the attachment's file ID.
Instructions
Upload a file attachment to a Dooray task.
Required Parameters:
projectId: The project ID
taskId: The task ID (post ID) to attach the file to
filePath: Absolute path to the file to upload (e.g., "/Users/name/document.pdf")
Example: { "projectId": "123456", "taskId": "789012", "filePath": "/Users/nhn/Downloads/report.pdf" }
Returns: File ID of the uploaded attachment.
Note: The file must exist at the specified path. Maximum file size depends on Dooray's server limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task ID (post ID) to attach the file to | |
| filePath | Yes | Absolute path to the file to upload | |
| projectId | Yes | Project ID |