v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01960201.2 KB
Routing

Create Transport Maps

Using this endpoint you can create Sender-Dependent Transports.

post/api/v1/add/transport

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'