REST API: send email with attachments (E-MAIL API)

derick3778
Tera Contributor

Hello All,

I would like to send email with attachments using REST API.

Here's what's working:

  1. Adding attachment and getting its sys_id
  2. Sending email associated with specific record.

But how to send e-mail with attachment, Currently I don't see option to specify attachment sys_id in E-MAIL API request.

7 REPLIES 7

Have you considered triggering a notification after the attachment is attached to the record?

Yes, I did this through the case status. But in this case, it would be different, because the message is completely different for each client who would receive this other type of attachment.

Is there a reason you can't use a mail script for the conditional messaging?