Addresses

Update private email address forwarding and metadata

Changed on

For a private email address, set it to forward to another place.

It can be forwarded to another email (with via mailsac indicator), to a websocket, to a webhook, or to a Slack channel.

put/addresses/{email}

Request

  • Base URL
    https://mailsac.com/api
  • Auth
    • API key in query parameter _mailsacKey
    • or API key in header Mailsac-Key

Request body

infostring

User configurable metadata about this enhanced private address.

forwardstring

email address - SMTP forwarding / standard email forwarding - set to "" or null to disable forwarding

enablewsboolean

boolean, defaults false - set to true to enable web socket forwarding (see Web Socket API)

webhookstring

url - set to your public webhook endpoint to receive mail via webhook - set to "" or null to disable webhooks

webhookSlackstring

Slack webhook URL where messages will be published.

webhookSlackToFromboolean

When webhookSlack is set, controls whether the message includes TO and FROM

Response

email forwarding successfully configured

Changes

    • info

      api operation id UpdateAddress was added

    • info

      api tag Addresses added

    • info

      api tag Email Addresses API removed