Antony REST icon

Antony REST

Call known Antony REST API operations

Actions159

Mail → Download Attachment

AI-generated

Summary

Downloads an attachment from a mail using its Mail ID and Attachment ID. Returns the file as binary data on each output item.

Inputs

  • Mail ID (required) — ID of the mail containing the attachment.
  • Attachment ID (required) — ID of the attachment to download.
  • Put Output In Binary Property (required) — Name of the binary property that will hold the downloaded file; defaults to data.

Output shape

One output item per input item, with a binary property containing the downloaded attachment and a JSON object { "success": true }.

The binary property name is set by Put Output In Binary Property. The request uses the Antony API credentials configured for the node.

Links

Discussion