v3

latestOpenAPI 3.1.02026-08-08298342605.3 KB
Direct uploads

Create a Gmail draft with direct multipart workspace attachments

Authenticated host transport for openwork-cloud-uploads. The route immediately creates the draft and does not persist attachment bytes or expose them to the model.

post/v1/direct-uploads/google-workspace/gmail-drafts

Response

Gmail draft created.

oktrue required
draftIdstring required
messageIdstring nullable required
draftUrlstring nullable 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.

threadUrlstring nullable required

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

tostring required
subjectstring required
threadIdstring nullable required
quotedHistoryIncludedboolean required

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