Email Sending

Send an email from the account

Changed on

The sanctioned send for account email. Stamps scope and class so suppression and consent apply. queued means accepted by the outbox, not delivered. Give either template_key with data, or subject with html/text, never both.

post/accounts/send-commercial-email

Request

Request body

tostring required

Recipient

subjectstring

Subject

htmlstring

HTML body

textstring

Text body

from_addressstring

From address

reply_tostring

Reply-to

template_keystring

Published email template to render

dataobject

Template tag values

contact_folderstring

Contact folder the mail belongs to

task_idstring

Task the mail belongs to

classstring

commercial (default) or transactional

ccstring[]
bccstring[]
idempotency_keystring

Collapses repeats inside the outbox duplicate window

refobject

Sender keys echoed on the activity row and delivery events

attachmentsobject[]
attachment_refsobject[]

Response

Success

Changes