Email Templates

Upload a template attachment

Uploads a file to be used as an email template attachment. Returns the attachment metadata including the ID to use when creating or updating templates.

post/v3/email-template-attachments

Request

Request body multipart/form-data

filestring binary required

The file to upload

Response

Attachment uploaded successfully

idinteger

Unique identifier for the attachment

fileNamestring

Original file name of the attachment

urlstring

URL to download the attachment

sizeinteger

File size in bytes

Example response

{
  "id": 42,
  "fileName": "proposal.pdf",
  "url": "https://storage.example.com/attachments/proposal.pdf",
  "size": 102400
}

Changes

No recorded changes to this operation across all 1 revision of this API.