Skip to main content
POST
Create a Gmail draft with direct multipart workspace attachments

Response

Gmail draft created.

ok
boolean
required
draftId
string
required
messageId
string | null
required
draftUrl
string | null
required

Gmail URL for the ready-to-send draft. Always share draftUrl with the user so they can open the draft in Gmail for review and send.

threadUrl
string | null
required

Gmail URL for the conversation thread when this draft is a threaded reply.

to
string
required
subject
string
required
threadId
string | null
required
quotedHistoryIncluded
boolean
required

True when quoted conversation history was included by the server or already present in the request body.

attachments
object[]