curl --request GET \
--url http://localhost:3333/v1/tasks/{taskId}/attachments/{attachmentId}/download \
--header 'X-API-Key: <api-key>'{
"downloadUrl": "https://bucket.s3.amazonaws.com/path/to/file.pdf?signature=...",
"expiresIn": 900
}Generate a signed URL for downloading a task attachment
curl --request GET \
--url http://localhost:3333/v1/tasks/{taskId}/attachments/{attachmentId}/download \
--header 'X-API-Key: <api-key>'{
"downloadUrl": "https://bucket.s3.amazonaws.com/path/to/file.pdf?signature=...",
"expiresIn": 900
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Unique task identifier
"tsk_abc123def456"
Unique attachment identifier
"att_abc123def456"
Was this page helpful?