Skip to main content
POST
Save draft

Authorizations

x-api-key
string
header
required

API key (sk-proj-…) from Settings → API Keys. Required for sold API calls outside the Mermail console.

Path Parameters

mailboxId
string
required

Mailbox public_id (UUID), hosted alias id, or current email

Body

application/json
body
string
required

Draft body (HTML or plain text)

Example:

"<p>Working…</p>"

to
string
cc
string
bcc
string
subject
string
Example:

"Draft"

in_reply_to
string
thread_id
string
draft_id
string

Existing draft id to replace

Response

Success

The response is of type object.