Capability Sources
Update an unsent Outlook email draft
Changed onUpdates subject, body, or recipients on an existing unsent Outlook draft without sending it. Refuses messages that are not drafts. Requires Outlook draft permission (Mail.ReadWrite).
patch/v1/capabilities/microsoft-365/mail-drafts/{messageId}
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
messageId, string required
Microsoft Graph message ID of an unsent Outlook draft.
Request body
Microsoft365 Mail Draft Update Body required
to, string[]
cc, string[]
bcc, string[]
subject, string
body, string
bodyContentType, 'text' | 'html'
How Outlook stores body: text (default) or html. Only allowed together with body.
Response
Outlook draft updated.
Microsoft365 Mail Draft Update Response required
ok, true required
draft, Microsoft365 Mail Message required
Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info