Skip to main content
POST
Send an email from the account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
to
string
required

Recipient

subject
string

Subject

html
string

HTML body

text
string

Text body

from_address
string

From address

reply_to
string

Reply-to

template_key
string

Published email template to render

data
object

Template tag values

contact_folder
string

Contact folder the mail belongs to

task_id
string

Task the mail belongs to

class
string

commercial (default) or transactional

cc
string[]
bcc
string[]
idempotency_key
string

Collapses repeats inside the outbox duplicate window

ref
object

Sender keys echoed on the activity row and delivery events

attachments
object[]
attachment_refs
object[]

Response

Success

data
object