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