Skip to main content
POST
Create a draft

Authorizations

X-API-KEY
string
header
required

Your access token, from your dashboard under API keys.

Body

application/json
account_id
string

The account to send from (acc_…).

to
object[]
cc
object[]
bcc
object[]
from
object

Sender name; identifier can set a send-as alias.

reply_to_addresses
object[]
subject
string
body
string

HTML body.

body_plain
string
reply_to
string

The email_… id you answer.

custom_headers
object[]

X-…, List-Unsubscribe, List-Unsubscribe-Post or Reply-To.

tracking_options
object
attachments
object[]

Response

The draft is saved.

object
enum<string>
Available options:
DraftCreated,
DraftUpdated
account_id
string
draft_id
string

drf_…

previous_draft_id
string

After an update: the old id, which no longer works.

message_id
string
tracking_id
string | null