Create a Draft

Creates a new Draft in the draft folder of the provider. Use Send a Draft to send the Email later.

Multipart supported, refer to Sending Files.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^acc_(.*)$

ID of the Account (acc_xxx) to call the method on behalf of.

Body Params
string

The HTML content of the draft. Required for tracking.

string

The plain text content of the draft.

string

Subject of the draft.

from
object
to
array of objects
required

List of attendees to set in to header.

to*
cc
array of objects

List of attendees to set in cc header.

cc
bcc
array of objects

List of attendees to set in bcc header.

bcc
string

The ID of the email message that you're replying to. For Gmail, this is the provider ID for the email message that you're replying to. For IMAP, this is the RFC822 Message-ID header of the email message that you're replying to. Outlook draft replies are not supported.

attachments
array of objects

The list of file attachments to the draft.

attachments
tracking_options
object

Configuration of tracking for this email.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json