Praecise Inbox/ Reference/ Mailboxes

Send a message

post/mailboxes/{mailbox}/send

Send plain-text mail from a mailbox. If this key may only send with approval, the message is held and the result says waiting_for_approval; check send_status later. Never assume a held message was delivered.

Before you call

Credential
Authorization: Bearer $KEY

Parameters

  • mailboxstringrequired
    In the path. Mailbox address.

Request bodyapplication/json, required

  • tolist of string
  • subjectstring
  • textstring

Responses

  • 200application/json
    Send a message
    • statusstringrequired
      One of: sent, waiting_for_approval.
    • idstring or null
    • notestring
  • 401
    No valid access key.
  • 403
    The key may not do this on this mailbox.
  • 429
    Too many calls; see Retry-After.

This page as Markdown