Antony REST icon

Antony REST

Call known Antony REST API operations

Actions159

Mail → Upload Draft Attachment

AI-generated

Summary

Uploads a binary file as an attachment to a specified draft using the Antony REST API. The request sends the file as multipart form data in the file field.

Inputs

  • Draft ID (required) — Draft identifier used in the attachment upload endpoint.
  • Binary Property (required) — Name of the incoming binary property containing the file; defaults to data.
  • File Name — Optional filename for the uploaded file. If blank, uses the incoming binary file's filename, or file if none is set.

Output shape

One or more JSON items from the API response, paired with their corresponding input item.

The response is normalized: an API array, or an object with an array in result or data, becomes multiple items; other responses become a single item. The operation requires Antony API credentials.

Links

Discussion