How to Add Attachments in Email
You can add a single attachment or multiple attachments to your email, and they can be static or dynamic.
There is no limit to the number of attachments. However, the total size of the attachments should not exceed 10MB. Supported file extensions are .jpg, .jpeg, .png, .gif, .pdf, .mp4, .doc, .docx, .xls and .xlsx.
Attachment options
Click the attachment icon (paperclip) next to the Subject field in any email editor. You see three options:

Attach a file from a URL
Use File URL to include files that are decided when the notification event is triggered. Click File URL to open the File URL pop-up. Use {{ }} in any field for dynamic values.
In Number of files, choose Fixed or Dynamic. See Number of files: Fixed or Dynamic. For each file, you configure:
- File Name: A static value like
Invoice.pdf(if you are testing manually), or a placeholder like{{attachment.filename}}(if you trigger the notification event through the API). - File Type: Select the file type from the dropdown, or enter a placeholder like
{{attachment.filetype}}. Use MIME types for the file type. - URL: A static URL, or a dynamic URL using a placeholder like
{{attachment.presigned_URL}}. The URL can be either pre-signed or public.
Click Done to save the attachments.
If you use a pre-signed S3 URL, the URL should start downloading the file as soon as it is opened.
Use placeholders when the attachment is dynamic, for example a personalized attachment for each recipient. Such attachments are usually sent through an API call. To send dynamic attachments in the event payload, make sure the data section of the payload has an object called attachment, as shown below.
The keys inside attachment (presigned_URL, filename and filetype) are only examples. You can name them anything, as long as the keys in your payload match the placeholders you use in the template.
In the above command, replace:
<WorkspaceID>with your Workspace ID.<API_KEY>with your API key.<presigned_URL>with the pre-signed URL of your file.<attachment_file_name>with the name of the attached file.
You cannot use only numeric values as placeholder keys.
Number of files: Fixed or Dynamic
In the File URL pop-up, choose how files are attached in Number of files. You can add up to 25 attachments per template, in either mode.
Fixed
Dynamic
In Fixed mode, you configure each file (File 1, File 2 and so on) by specifying its name, file type and URL individually. Click Add File to add another file, or the delete icon to remove one.

For example, if you configure:
Both files are always attached, exactly as configured.
- Each file must be configured separately.
- The URL must be publicly accessible or pre-signed.
- The number of files stays the same for every send. If the file count needs to change at send time, use Dynamic mode.