Direct uploads

Create a Gmail draft with direct multipart workspace attachments

Changed on

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

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/direct-uploads/google-workspace/gmail-drafts
  • Auth: HTTP bearer

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 returned by Gmail for this draft.

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.

Changes