Rivier/ Reference/ inbox

Send a draft after an undo window of up to 30 seconds

post/workspace/inbox/drafts/{id}/send

Send a draft after an undo window of up to 30 seconds. Warns when someone else is replying or has answered since; force sends anyway. In test mode only the project's test addresses receive it.

Before you call

Credential
Authorization: Bearer $KEY
Scope
inbox:write
Graphql
Mutation.inboxDraftSend
Sdk
inbox.draft.send
Cli
inbox draft send

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • undoSecondsinteger
    At least 0. At most 30.
  • forceboolean
  • thenstring
    One of: waiting, done, keep.

Responses

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