Task Attachments

Upload attachments to a task

Changed on

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

Request

  • Base URL
    https://api.astravue.com
  • URL
    https://api.astravue.com/v1/tasks/{taskId}/attachments
  • Auth
    none declared. Required headers: X-Org-Id

Path parameters

taskIdinteger required

ID of the task

Headers

X-Org-Idinteger required

Organization ID

Request body multipart/form-data

filesstring[] required

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"
}

Changes