Skip to main content

Attachment

filenamestringrequired

Filename of the attachment.

contentstringrequired

Base64-encoded file content.

content_typestringrequired

MIME type of the attachment.

content_dispositionstring

Content disposition. Use "inline" for CID-referenced images.

Possible values: [attachment, inline]

Default value: attachment
content_idstring

Content-ID for inline images (e.g. "logo"). Referenced in HTML as cid:logo.

Attachment
{
"filename": "string",
"content": "string",
"content_type": "string",
"content_disposition": "attachment",
"content_id": "string"
}