Download attachment
Attachments
Download attachment
Get a short-lived presigned URL for a stored attachment.
GET
Download attachment
Returns a presigned download URL (valid 15 minutes) for one attachment. The
Fetch the file from
index is 0-based and matches the order of the attachments array from
Get email by ID. Only attachments with
stored: true can be downloaded.
Attachment storage is included on Pro and Scale. On Free this returns
402:
the metadata is kept, but the content isn’t stored.string
required
The email id (
em_…).integer
required
0-based index into the email’s
attachments array.url directly — it’s pre-signed, so no auth header is
needed.
Returns
404 if the email or attachment isn’t found (or has no stored
content), or 503 if attachment storage isn’t configured.