tasks.attachments.add
Uploads files and either immediately attaches them to a task or saves them to be later attached to a task, comment or action.
Parameters
-
hash
POST
Hash identifier, which must be unique for each call of this method, to be associated with the uploaded files. It will be used when you later need to attach those files to a task, comment or action if the “task_id” parameter is not specified.
-
files
POST
Array of files.
-
task_id
POST
Optional
ID of the task to which the uploaded files must be attached immediately. If not specified then the files are stored on the server and are available by the specified hash for further linking to a task.
-
format
GET
Optional
Sets response format. Available options:
json
(default),xml
.