latestOpenAPI 3.1.02026-08-145132109.4 KB

e4dda8c7f007

Tasks

Add files to task

Upload files to a task. Files attach at the task level (task.files, i.e. firm-uploaded files, listed in attached_files with uploaded_by=firm). Provide either a publicly accessible URL for Truss to download, or a signed_id from POST /projects/{project_id}/tasks/direct_upload after uploading the file bytes directly to cloud storage. Requires the files_write scope, plus files_read because the response includes presigned download URLs.

post/projects/{project_id}/tasks/{id}/add_files_to_task

Path parameters

project_idinteger required

ID of the project

idinteger required

ID of the task to attach files to

Request body

Response

Files added to task successfully; returns the task with its attached_files

idinteger
namestring

Name of the task

descriptionstring

Description of the task - supports limited subset of HTML <b>, <ul>, <li>, <br>, and <a>.

description_as_stringstring

Plain text description of the task

status'to_do' | 'pending_review' | 'approved'

Status of the task

created_atstring date-time
updated_atstring date-time