latestOpenAPI 3.1.02026-08-19722176474.5 KB

f1eea337ff61

Task Attachments

Upload attachments to a task

Upload up to 10 files in one multipart request under the field name files. Each file must be non-empty and of an allowed type, and must fit the organisation's plan limits.

post/v1/tasks/{taskId}/attachments

Path parameters

taskIdinteger required

ID of the task

Headers

X-Org-Idinteger required

Organization ID

Response

Attachments uploaded successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

timestampstring date-time

Timestamp of the response

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "code": 200,
  "timestamp": "2023-01-01T12:00:00Z"
}