Skip to main content

List the files attached to a workflow message.

GET/api/v1/workflows/{workflow_id}/messages/{workflow_message_id}/attachmentsworkflows:manage

The files on a message of a workflow you may see, oldest first. A message of a private thread is visible only to its sender. Each file has an ID: get_workflow_message_attachment_download_url signs a link to it.

Scopeworkflows:manage
AsynchronousNo
MCP toollist_workflow_message_attachments
Portal permissionsview_workflow_message_attachments
Pagingkeyset
Default orderworkflow_message_attachment_id
Sort fieldsworkflow_message_attachment_id

Parameters​

NameInTypeRequiredDescription
workflow_idpathstringRequired
workflow_message_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
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
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of WorkflowMessageAttachmentRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

WorkflowMessageAttachment​

FieldTypeRequiredDescription
file_namestringRequiredThe name the file was attached with, cleaned as the Inbox cleans it.
workflow_idstringRequired
workflow_message_attachment_idstringRequired
workflow_message_idstringRequired