Update a Draft

Updates the specified Draft by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

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
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

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. Any attachment already existing will be removed and replaced by the new ones.

attachments
tracking_options
object

Configuration of tracking for this email.

specifics
object

Object containing provider-specific draft update data.

Response

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