Save a draft as it is written
put/workspace/inbox/drafts/{id}
Save a draft as it is written; the version guards against two tabs overwriting each other.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
inbox:write- Graphql
Mutation.inboxDraftSave- Sdk
inbox.draft.save- Cli
inbox draft save
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- versionintegerrequiredAt least 1.
- tolist of string
- cclist of string
- bcclist of string
- subjectstringAt most 300 characters.
- bodystringAt most 100000 characters.
- bodyHtmlstring or null
- mailboxstringAt most 254 characters.
- signatureIdstring (uuid) or null
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring