Skip to main content

Download a file attached to a workflow message.

GET/api/v1/workflows/{workflow_id}/messages/{workflow_message_id}/attachments/{workflow_message_attachment_id}/contentworkflows:manage

302 to the file's short-lived signed URL. expires_in_seconds and file_name as for the download-url route.

Scopeworkflows:manage
AsynchronousNo
MCP toolget_workflow_message_attachment_content
Portal permissionsdownload_workflow_message_attachments

Parameters​

NameInTypeRequiredDescription
workflow_idpathstringRequired
workflow_message_idpathstringRequired
workflow_message_attachment_idpathstringRequired
expires_in_secondsqueryinteger or nullOptionalHow long the URL works, 60 to 604800 seconds. Default 3600.
file_namequerystring or nullOptionalThe name the file saves under, sent as the Content-Disposition of the download. Default: the name it was attached with.
Docwize-Versionheaderstring (date)Optional

Responses​

StatusDescriptionBody
302Redirect to a signed URL.
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.