How To: Build email content

Sending Transactional Emails

Transactional emails are intended for individual contacts and contain content that completes a transaction or process the recipient initiated (e.g. order receipt, password reset, etc...). Transactional emails should not be used to send marketing content.
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.