latestOpenAPI 3.1.02026-08-20723176475.4 KB

c2b39b2c43c5

Task Attachments

Get a download URL for a task attachment

Returns a pre-signed URL the client can stream or download the file from directly. The URL is valid for 24 hours and needs no authorization header of its own.

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

Path parameters

taskIdinteger required

ID of the task

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