Emails

Send an email based off an email template

post/email_templates/{id}/send

Path parameters

idstring required

The ID of the email template

Request body

OR

Response

The sent SentEmail object

idstring required

The ID of the campaign

created_atstring required

The time when the campaign was created in ISO 8601 format

customerstring nullable required

The ID of the customer that was sent the email

subjectstring required

The subject of the email

sent_atstring nullable required

The time when the email was sent in ISO 8601 format

failed_atstring nullable required

The time when the email failed to send in ISO 8601 format

failed_reasonstring nullable required

The reason the email failed to send

to_email_addressstring nullable required

The email address the email was sent to

sendgrid_message_idstring nullable

Sendgrid's returned message ID

paubox_message_idstring nullable

Paubox's returned message ID

postmark_message_idstring nullable

Postmark's returned message ID

okboolean required

Whether the email was sent successfully

Changes