Rivier/ Reference/ campaigns

Campaigns mail inbound ingest

post/mail/inbound/ingest

Hand a received message to the parser (the mail platform does this for each message it receives for a routed domain). Send JSON with the raw message, or the message itself as message/rfc822.

Before you call

Credential
Authorization: Bearer $KEY
Scope
campaigns:admin
Graphql
Mutation.campaignsMailInboundIngest
Sdk
mail.inbound.ingest
Cli
mail ingest

Request bodyapplication/json, required

  • rawstringrequired
    The message as RFC 822 text, base64 when rawEncoding is base64 At most 40000000 characters.
  • rawEncodingstring
    One of: text, base64.
  • tolist of string
  • fromstring
    At most 320 characters.

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