latestOpenAPI 3.1.02026-08-20723176475.4 KB

c2b39b2c43c5

Task Attachments

Get a download URL for a subtask attachment

Returns a pre-signed URL valid for 24 hours that the client can download the file from directly

get/v1/tasks/{taskId}/subtasks/{subtaskId}/attachments/{attachmentId}/download-url

Path parameters

taskIdinteger required

ID of the parent task

subtaskIdinteger required

ID of the subtask

attachmentIdinteger required

ID of the attachment

Headers

X-Org-Idinteger required

Organization ID

Response

Download URL generated successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

datastring

Payload containing the response data

timestampstring date-time

Timestamp of the response

Example response

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