Rivier/ Reference/ inbox

Inbox draft create

post/workspace/inbox/drafts

Start a reply, a reply to all, a forward or a new message, with recipients, subject and quoted text filled in and the person's signature on. Returns the live draft if there already is one.

Before you call

Credential
Authorization: Bearer $KEY
Scope
inbox:write
Mcp
rivier_mail_draft
Graphql
Mutation.inboxDraftCreate
Sdk
inbox.draft.create
Cli
inbox draft create

Request bodyapplication/json, required

  • threadIdstring (uuid)
  • modestring
    One of: new, reply, reply_all, forward.
  • mailboxstring
    At most 254 characters.
  • tolist of string
  • cclist of string
  • bcclist of string
  • subjectstring
    At most 300 characters.
  • bodystring
    At most 100000 characters.
  • templateIdstring (uuid)
  • quoteboolean

Responses

  • 201application/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