Rivier/ Reference/ inbox

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)required
    In the path

Request bodyapplication/json, required

  • versionintegerrequired
    At least 1.
  • tolist of string
  • cclist of string
  • bcclist of string
  • subjectstring
    At most 300 characters.
  • bodystring
    At most 100000 characters.
  • bodyHtmlstring or null
  • mailboxstring
    At most 254 characters.
  • signatureIdstring (uuid) or null

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown