Update draft

Updates the content or recipients of an existing email draft.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
⚠️

Update behavior

  • Always pass all values (to, cc, bcc, subject, body, attachments etc.) in update request
  • This API uses replace behavior - existing values will be overwritten with new values
  • For Outlook Mail: New attachments will be deduplicated (identical attachments won't be added multiple times)
  • To delete existing deduplicated attachment use Passthrough Request
  • Payload for passthrough -{"method":"DELETE","path":"/me/messages/{messageId}/attachments/{attachmentId}"}

Supported Apps

Here is the list of apps that supports this API

Google Mail (google-mail)

Replaces all provided values

Outlook Mail (outlook-mail)

Replaces all values, attachments are deduplicated

Body Params
string
required
string
from
array of objects
from
cc
array of objects
cc
bcc
array of objects
bcc
replyTo
array of objects
replyTo
boolean
attachments
array of objects
attachments
string

JSON-formatted string containing set of key-value attributes to provide additional data

Responses

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