Sign in

Update draft (upload)

documented

Replaces a draft's content using the upload endpoint.

PUT /upload/gmail/v1/users/{userId}/drafts/{id}Usersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://gmail.googleapis.com/upload/gmail/v1/users/{{$user_id}}/drafts/{{$id}}?uploadType=media" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: {{$mime_type}}" \
  -d '{{$draft_media}}'
Update draft (upload) · Gmail · OpenIntegrations