Email Logs

Delete an email attachment

Removes the file from S3 and strips it from this email log and any sibling rows with the same messageId. Identifies the row via body.emailLogId.

delete/email-logs/attachments

Request body

emailLogIdnumber required

Email log row id (same as the id in GET /email-logs list / GET /email-logs/:id).

urlstring required

Full URL of the attachment to remove (must match the url returned on email log items)

Example request

{
  "emailLogId": 75272,
  "url": "https://s3.eu-west-2.amazonaws.com/staging.example.org/uploads/abc.pdf"
}

Response

Email attachment deleted successfully

idnumber required
messageIdstring required
recipientstring required
senderstring required
subjectstring required
status'Sent' | 'Processed' | 'Delivered' | 'Opened' | 'Clicked' | 'Bounced' | 'Deferred' | 'Dropped' | 'Spam Complaint' | 'Spam Report' | 'Unsubscribed' | 'Group Unsubscribe' | 'Group Resubscribe' | 'Subscription Change' | 'Failed' required
sentAtstring date-time required
customerOrderCountnumber
attachmentsstring[]
attachmentsCountnumber
opensnumber

Number of times email was opened

clicksnumber

Number of times links were clicked

isOpenedboolean

Whether email was opened at least once

isClickedboolean

Whether links were clicked at least once

clickedLinkstring

The URL that was clicked

createdAtstring date-time required
webhookResponsestring
ipAddressstring
browserstring
locationstring
orderIdnumber
customerIdnumber
emailTemplatestring
contentstring
metadataobject
deliveredAtstring date-time
openedAtstring date-time
clickedAtstring date-time
bouncedAtstring date-time
providerstring

Changes

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