Antony REST icon

Antony REST

Call known Antony REST API operations

Actions159

Mail → Upload Inline Attachment

AI-generated

Summary

Uploads an inline attachment for the specified mail by sending a POST request to the mail attachments endpoint. Supply the attachment data in the request body as JSON or as form fields.

Inputs

  • Mail ID (required) — ID of the mail to attach the inline file to.
  • Body Input Mode — Choose JSON or Form Fields to provide the request body.
  • Body JSON — Request body as JSON; shown when Body Input Mode is JSON. Defaults to {}.
  • Body Parameters — Name and value pairs for the request body; shown when Body Input Mode is Form Fields. Values that look like booleans, null, numbers, or JSON arrays and objects are parsed to those types.

Output shape

A list of n8n items containing the normalized API response.

Array responses, or arrays in a response's result or data property, become separate items. Other responses become one item; primitive values are wrapped in a value property. The operation does not read an incoming binary property.

Links

Discussion