Rivier/ Reference/ campaigns

Campaigns mail route create

post/mail/inbound/routes

Receive mail for a domain or address of the project as parsed JSON on its webhook endpoints (event mail.inbound).

Before you call

Credential
Authorization: Bearer $KEY
Scope
campaigns:admin
Graphql
Mutation.campaignsMailRouteCreate
Sdk
mail.inbound.createRoute
Cli
mail route-create

Request bodyapplication/json, required

  • matchstringrequired
    A domain (mail.example.com) or one address At most 320 characters.
  • keepRawboolean

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