Routing

Create Transport Maps

Changed on

Using this endpoint you can create Sender-Dependent Transports.

post/api/v1/add/transport

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

activenumber

1 for a active transport map 0 for a disabled transport map

destinationstring
nexthopstring
passwordstring

the password for the smtp user

usernamestring

the username used to authenticate

Example request

{
  "active": "1",
  "destination": "example.org",
  "nexthop": "host:25",
  "password": "supersecurepw",
  "username": "testuser"
}

Response

OK

type'success' | 'danger' | 'error'

Changes