How To: Build email content
Sending Transactional Emails
NOTE: Transactional emails must be enabled for your account before use. Please contact support for access.
To send a transactional email, simply pass an email object along with an array of contact objects to the emails/sendTransactional endpoint. This will create new contact records if they don't already exist.
In the example below, we will send an order receipt email to a single recipient. Our sample template contains a single editable area (body slot) so we provide only the content for that part of the template.