POST
/
v1
/
transactional

Request

Body

email
string
required

The email address of the recipient.

transactionalId
string
required

The ID of the transactional email to send.

addToAudience
boolean
default: false

If true, a contact will be created in your audience using the email value (if a matching contact doesn’t already exist).

dataVariables
object

An object containing data as defined by the data variables added to the transactional email template. Values can be of type string or number.

attachments
object[]

Please email us to enable attachments on your account before using them with the API.
An object containing file(s) sent along with an email message.

Response

Success

success
boolean
required

Error

success
boolean
required
path
string
required
message
string
required

Was this page helpful?